[Pkg-owncloud-commits] [qtkeychain] 100/115: DeletePasswordJob: Start the WriteJob immediatly
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Mar 15 19:25:49 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 8150f61a487e6272d425d8a0626c30778f4bd8e7
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Mon Jan 27 16:27:42 2014 +0100
DeletePasswordJob: Start the WriteJob immediatly
We want that if one delete, then read the password directly after,
it do not reuse the deleted password.
---
keychain.cpp | 2 +-
keychain.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/keychain.cpp b/keychain.cpp
index 8ae88d1..61127f3 100644
--- a/keychain.cpp
+++ b/keychain.cpp
@@ -157,7 +157,7 @@ void DeletePasswordJob::doStart() {
job->setInsecureFallback(true);
job->setSettings(settings());
job->setKey( d->key );
- job->start();
+ job->doStart();
}
QString DeletePasswordJob::key() const {
diff --git a/keychain.h b/keychain.h
index 4f00954..dd3a4c2 100644
--- a/keychain.h
+++ b/keychain.h
@@ -117,6 +117,7 @@ protected:
private:
friend class QKeychain::JobExecutor;
friend class QKeychain::WritePasswordJobPrivate;
+ friend class DeletePasswordJob;
WritePasswordJobPrivate* const d;
};
--
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