DeletePasswordJob: forward the settings to the WriteJob

And always remove the password from the insecure storage
This commit is contained in:
Olivier Goffart 2014-01-27 16:25:07 +01:00
parent 4fa77c1482
commit 85bb5664c6
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}