[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:08:53 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=f759e44

The following commit has been merged in the master branch:
commit f759e446a52033bcd5d2341ca2158b0ec51d8b95
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Mon Jun 8 13:05:01 2015 +0200

    [kaccounts] Make the debug output more useful
---
 kaccounts/kaccounts-ktp-plugin.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/kaccounts/kaccounts-ktp-plugin.cpp b/kaccounts/kaccounts-ktp-plugin.cpp
index 002fcbb..b3c55ce 100644
--- a/kaccounts/kaccounts-ktp-plugin.cpp
+++ b/kaccounts/kaccounts-ktp-plugin.cpp
@@ -95,6 +95,8 @@ void KAccountsKTpPlugin::Private::migrateTelepathyAccounts()
     auto tpAccountsList = accountManager->validAccounts()->accounts();
     migrationRef = tpAccountsList.size();
 
+    qDebug() << "Starting accounts migration...";
+
     Q_FOREACH (const Tp::AccountPtr &account, tpAccountsList) {
         KConfigGroup kaccountsKtpGroup = kaccountsConfig->group(QStringLiteral("ktp-kaccounts"));
         const Accounts::AccountId kaccountsId = kaccountsKtpGroup.readEntry(account->objectPath(), 0);
@@ -294,7 +296,6 @@ void KAccountsKTpPlugin::Private::migrateLogs(const QString &tpAccountId, const
 void KAccountsKTpPlugin::Private::derefMigrationCount()
 {
     migrationRef--;
-    qDebug() << "Dereferencing migration count, currently" << migrationRef;
     if (migrationRef == 0) {
 //         qDebug() << "Killing MC";
 //         QProcess mcKiller;
@@ -307,6 +308,8 @@ void KAccountsKTpPlugin::Private::derefMigrationCount()
         KConfigGroup generalGroup = config->group(QStringLiteral("General"));
         generalGroup.writeEntry(QStringLiteral("migration2Done"), true);
         generalGroup.sync();
+
+        qDebug() << "Migration done";
     }
 }
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list