[Pkg-owncloud-commits] [qtkeychain] 99/115: DeletePasswordJob: forward the settings to the WriteJob

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Mar 15 19:25:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository qtkeychain.

commit 85bb5664c64a51f774b662333cacb29cecdd35c3
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Jan 27 16:25:07 2014 +0100

    DeletePasswordJob: forward the settings to the WriteJob
    
    And always remove the password from the insecure storage
---
 keychain.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/keychain.cpp b/keychain.cpp
index 70ea7e0..8ae88d1 100644
--- a/keychain.cpp
+++ b/keychain.cpp
@@ -154,6 +154,8 @@ void DeletePasswordJob::doStart() {
     //In all current implementations, this deletes the entry so this is sufficient
     WritePasswordJob* job = new WritePasswordJob( service(), this );
     connect( job, SIGNAL(finished(QKeychain::Job*)), d, SLOT(jobFinished(QKeychain::Job*)) );
+    job->setInsecureFallback(true);
+    job->setSettings(settings());
     job->setKey( d->key );
     job->start();
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/qtkeychain.git



More information about the Pkg-owncloud-commits mailing list