[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:17:58 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=6b4582c

The following commit has been merged in the master branch:
commit 6b4582c632fe4103f3ceb49570be593cd4f272e5
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Thu Sep 23 02:23:20 2010 +0000

    Fix uninitialised variable warning.
    
    svn path=/trunk/playground/network/telepathy-chat-handler/; revision=1178424
---
 lib/adiumthemeview.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/adiumthemeview.cpp b/lib/adiumthemeview.cpp
index 663bcac..7b5244b 100644
--- a/lib/adiumthemeview.cpp
+++ b/lib/adiumthemeview.cpp
@@ -117,7 +117,7 @@ void AdiumThemeView::initialise(const AdiumThemeHeaderInfo &chatInfo)
 
     int numberOfPlaceholders = templateHtml.count("%@");
 
-    int index;
+    int index = 0;
     index = templateHtml.indexOf("%@", index);
     templateHtml.replace(index, 2, QString("file:///").append(m_chatStyle->getStyleBaseHref()));
 
@@ -276,11 +276,12 @@ QString AdiumThemeView::replaceHeaderKeywords(QString htmlTemplate, const AdiumT
         QString timeKeyword = formatTime(timeRegExp.cap(1), info.timeOpened());
         htmlTemplate.replace(pos , timeRegExp.cap(0).length() , timeKeyword);
     }
-
-
     return htmlTemplate;
 }
 
+
+
+
 void AdiumThemeView::appendNewMessage(QString &html)
 {
     //by making the JS return false evaluateJavaScript is a _lot_ faster, as it has nothing to convert to QVariant.

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list