DeletePasswordJob: Start the WriteJob immediatly
We want that if one delete, then read the password directly after, it do not reuse the deleted password.
This commit is contained in:
parent
85bb5664c6
commit
8150f61a48
|
@ -157,7 +157,7 @@ void DeletePasswordJob::doStart() {
|
||||||
job->setInsecureFallback(true);
|
job->setInsecureFallback(true);
|
||||||
job->setSettings(settings());
|
job->setSettings(settings());
|
||||||
job->setKey( d->key );
|
job->setKey( d->key );
|
||||||
job->start();
|
job->doStart();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString DeletePasswordJob::key() const {
|
QString DeletePasswordJob::key() const {
|
||||||
|
|
|
@ -117,6 +117,7 @@ protected:
|
||||||
private:
|
private:
|
||||||
friend class QKeychain::JobExecutor;
|
friend class QKeychain::JobExecutor;
|
||||||
friend class QKeychain::WritePasswordJobPrivate;
|
friend class QKeychain::WritePasswordJobPrivate;
|
||||||
|
friend class DeletePasswordJob;
|
||||||
WritePasswordJobPrivate* const d;
|
WritePasswordJobPrivate* const d;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue