[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:00:32 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=cdaed39
The following commit has been merged in the master branch:
commit cdaed3922b61c44a1ee07e9e503edf2bd6d80485
Author: Przemek Czekaj <xcojack at gmail.com>
Date: Tue Nov 1 16:26:26 2011 +0000
Remove passwords from kwallet when they're unset
REVIEW: 103016
BUG: 284420
---
src/edit-account-dialog.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/edit-account-dialog.cpp b/src/edit-account-dialog.cpp
index 0602c00..6456a73 100644
--- a/src/edit-account-dialog.cpp
+++ b/src/edit-account-dialog.cpp
@@ -148,9 +148,11 @@ void EditAccountDialog::onParametersUpdated(Tp::PendingOperation *op)
QVariantMap values = d->widget->parametersSet();
+ KTelepathy::WalletInterface wallet(this->effectiveWinId());
if (values.contains(QLatin1String("password"))) {
- KTelepathy::WalletInterface wallet(this->effectiveWinId());
wallet.setPassword(d->item->account(), values["password"].toString());
+ } else {
+ wallet.removePassword(d->item->account());
}
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list