[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:21:33 UTC 2016


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

The following commit has been merged in the master branch:
commit 90c532e6dba3237851039b7fbf18ee29d5cc00ec
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Tue Mar 13 02:38:00 2012 +0100

    Add more debug
---
 adiumxtra-protocol-handler/adiumxtra-protocol-handler.cpp | 12 ++++++------
 adiumxtra-protocol-handler/chat-style-installer.cpp       |  2 ++
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/adiumxtra-protocol-handler/adiumxtra-protocol-handler.cpp b/adiumxtra-protocol-handler/adiumxtra-protocol-handler.cpp
index 406e2f1..69188d6 100644
--- a/adiumxtra-protocol-handler/adiumxtra-protocol-handler.cpp
+++ b/adiumxtra-protocol-handler/adiumxtra-protocol-handler.cpp
@@ -55,7 +55,7 @@ BundleInstaller::BundleStatus AdiumxtraProtocolHandler::install(const QString &p
     if (tmpFile->open()) {
         KIO::Job* getJob = KIO::file_copy(url.prettyUrl(), KUrl(tmpFile->fileName()), -1, KIO::Overwrite);
         if (!KIO::NetAccess::synchronousRun(getJob, 0)) {
-            kDebug() << "download failed";
+            kDebug() << "Download failed";
             return BundleInstaller::BundleCannotOpen;
         }
     }
@@ -80,40 +80,40 @@ BundleInstaller::BundleStatus AdiumxtraProtocolHandler::install(const QString &p
         QObject::connect(notification, SIGNAL(ignored()), this, SLOT(ignoreRequest()));
         QObject::connect(notification, SIGNAL(ignored()), notification, SLOT(close()));
         notification->sendEvent();
-        kDebug() << "unsupported file type" << currentBundleMimeType;
+        kDebug() << "Unsupported file type" << currentBundleMimeType;
         kDebug() << tmpFile->fileName();
         return BundleInstaller::BundleNotValid;
     }
 
     if (!archive->open(QIODevice::ReadOnly)) {
         delete archive;
-        kDebug() << "cannot open theme file";
+        kDebug() << "Cannot open theme file";
         return BundleInstaller::BundleCannotOpen;
     }
 
     ChatStyleInstaller *chatStyleInstaller = new ChatStyleInstaller(archive, tmpFile);
     if (chatStyleInstaller->validate() == BundleInstaller::BundleValid) {
         chatStyleInstaller->showRequest();
+        kDebug() << "Sent messagestyle request";
 
         QObject::connect(chatStyleInstaller, SIGNAL(finished(BundleInstaller::BundleStatus)),
                          chatStyleInstaller, SLOT(showResult()));
         QObject::connect(chatStyleInstaller, SIGNAL(showedResult()), this, SLOT(quit()));
         QObject::connect(chatStyleInstaller, SIGNAL(ignoredRequest()), this, SLOT(quit()));
 
-        kDebug() << "sent messagestyle request";
         return BundleInstaller::BundleValid;
     }
 
     EmoticonSetInstaller *emoticonSetInstaller = new EmoticonSetInstaller(archive, tmpFile);
     if(emoticonSetInstaller->validate() == BundleInstaller::BundleValid) {
         emoticonSetInstaller->showRequest();
+        kDebug() << "Sent emoticonset request";
 
         QObject::connect(emoticonSetInstaller, SIGNAL(finished(BundleInstaller::BundleStatus)),
                          emoticonSetInstaller, SLOT(showResult()));
         QObject::connect(emoticonSetInstaller, SIGNAL(showedResult()), this, SLOT(quit()));
         QObject::connect(emoticonSetInstaller, SIGNAL(ignoredRequest()), this, SLOT(quit()));
 
-        kDebug() << "sent emoticonset request";
         return BundleInstaller::BundleValid;
     }
 
@@ -128,7 +128,7 @@ BundleInstaller::BundleStatus AdiumxtraProtocolHandler::install(const QString &p
     QObject::connect(notification, SIGNAL(ignored()), notification, SLOT(close()));
     notification->setActions( QStringList() << i18n("OK") );
     notification->sendEvent();
-    kDebug() << "sent error";
+    kDebug() << "Sent error";
 
     return BundleInstaller::BundleUnknownError;
 }
diff --git a/adiumxtra-protocol-handler/chat-style-installer.cpp b/adiumxtra-protocol-handler/chat-style-installer.cpp
index 87f8e2f..2d5a4e1 100644
--- a/adiumxtra-protocol-handler/chat-style-installer.cpp
+++ b/adiumxtra-protocol-handler/chat-style-installer.cpp
@@ -138,9 +138,11 @@ void ChatStyleInstaller::showResult()
 
     KNotification *notification;
     if(m_status == BundleInstaller::BundleInstallOk) {
+        kDebug() << "Installed Chatstyle" << this->bundleName() << "successfully";
         notification = new KNotification(QLatin1String("chatstyleSuccess"), NULL, KNotification::Persistent);
         notification->setText( i18n("Installed Chatstyle %1 successfully.", this->bundleName()) );
     } else {
+        kDebug() << "Installation of Chatstyle" << this->bundleName() << "failed";
         notification = new KNotification(QLatin1String("chatstyleFailure"), NULL, KNotification::Persistent);
         notification->setText( i18n("Installation of Chatstyle %1 failed.", this->bundleName()) );
     }

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list