[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:59:46 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=a97ce6e

The following commit has been merged in the master branch:
commit a97ce6ebb2fc4edbdf8694df4c53af0e2dae73ae
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Thu May 21 15:09:19 2015 +0200

    Remove the special ktp-kaccounts config sync
    
    This is now not needed
---
 x-telepathy-password-auth-operation.cpp | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/x-telepathy-password-auth-operation.cpp b/x-telepathy-password-auth-operation.cpp
index dfbd0ff..be0ed99 100644
--- a/x-telepathy-password-auth-operation.cpp
+++ b/x-telepathy-password-auth-operation.cpp
@@ -55,9 +55,6 @@ XTelepathyPasswordAuthOperation::XTelepathyPasswordAuthOperation(
 
     m_config = KSharedConfig::openConfig(QStringLiteral("kaccounts-ktprc"));
     m_lastLoginFailedConfig = m_config->group(QStringLiteral("lastLoginFailed"));
-
-    KConfigGroup kaccountsGroup = m_config->group(QStringLiteral("ktp-kaccounts"));
-    m_kaccountsId = kaccountsGroup.readEntry(m_account->objectPath(), 0);
 }
 
 XTelepathyPasswordAuthOperation::~XTelepathyPasswordAuthOperation()
@@ -222,17 +219,7 @@ void XTelepathyPasswordAuthOperation::storeCredentials(const QString &secret)
         account->sync();
 
         connect(account, &Accounts::Account::synced, [=]() {
-            m_kaccountsId = account->id();
-
-            QString uid = m_account->objectPath();
-
-            KSharedConfigPtr kaccountsConfig = KSharedConfig::openConfig(QStringLiteral("kaccounts-ktprc"));
-            KConfigGroup ktpKaccountsGroup = kaccountsConfig->group(QStringLiteral("ktp-kaccounts"));
-            ktpKaccountsGroup.writeEntry(uid, account->id());
-
-            KConfigGroup kaccountsKtpGroup = kaccountsConfig->group(QStringLiteral("kaccounts-ktp"));
-            kaccountsKtpGroup.writeEntry(QString::number(account->id()), uid);
-            kaccountsConfig->sync();
+            m_accountStorageId = account->id();
 
             qDebug() << "Account credentials synchronisation finished";
 

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list