[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:06:59 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=2514506

The following commit has been merged in the master branch:
commit 251450666533ff4ea9f39aab84d7eaa9435f87ae
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Thu Sep 17 13:05:41 2015 -0400

    [kaccounts] Store the secret in temp variable
    
    It's being removed from the map just couple lines below, so it needs to
    be stored elsewhere
---
 plugins/kaccounts/kaccounts-ui-provider.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/kaccounts/kaccounts-ui-provider.cpp b/plugins/kaccounts/kaccounts-ui-provider.cpp
index 296082e..e1a15e3 100644
--- a/plugins/kaccounts/kaccounts-ui-provider.cpp
+++ b/plugins/kaccounts/kaccounts-ui-provider.cpp
@@ -338,6 +338,7 @@ void KAccountsUiProvider::onCreateAccountDialogAccepted()
         properties.insert(QLatin1String("org.freedesktop.Telepathy.Account.Enabled"), true);
     }
 
+    const QString password = values[QStringLiteral("password")].toString();
     //remove password values from being sent. These are stored by Accounts SSO instead
 
     //FIXME: This is a hack for jabber registration, we don't remove passwords - see Telepathy ML thread "Storing passwords in MC and regsitering new accounts"
@@ -347,7 +348,7 @@ void KAccountsUiProvider::onCreateAccountDialogAccepted()
     }
 
     //TODO: prefix all the values with telepathy or some mc-key
-    Q_EMIT success(values[QStringLiteral("account")].toString(), values[QStringLiteral("password")].toString(), values);
+    Q_EMIT success(values[QStringLiteral("account")].toString(), password, values);
 
     d->dialog->accept();
 }

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list