DeletePasswordJob: forward the settings to the WriteJob
And always remove the password from the insecure storage
This commit is contained in:
parent
4fa77c1482
commit
85bb5664c6
|
@ -154,6 +154,8 @@ void DeletePasswordJob::doStart() {
|
||||||
//In all current implementations, this deletes the entry so this is sufficient
|
//In all current implementations, this deletes the entry so this is sufficient
|
||||||
WritePasswordJob* job = new WritePasswordJob( service(), this );
|
WritePasswordJob* job = new WritePasswordJob( service(), this );
|
||||||
connect( job, SIGNAL(finished(QKeychain::Job*)), d, SLOT(jobFinished(QKeychain::Job*)) );
|
connect( job, SIGNAL(finished(QKeychain::Job*)), d, SLOT(jobFinished(QKeychain::Job*)) );
|
||||||
|
job->setInsecureFallback(true);
|
||||||
|
job->setSettings(settings());
|
||||||
job->setKey( d->key );
|
job->setKey( d->key );
|
||||||
job->start();
|
job->start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue