Merge pull request #32 from ogoffart/deletepasswordjob

few fixes in 	DeletePasswordJob
This commit is contained in:
Frank Osterfeld 2014-01-27 08:39:04 -08:00
commit 048b50f164
2 changed files with 4 additions and 1 deletions

View File

@ -154,8 +154,10 @@ 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();
job->doStart();
}
QString DeletePasswordJob::key() const {

View File

@ -117,6 +117,7 @@ protected:
private:
friend class QKeychain::JobExecutor;
friend class QKeychain::WritePasswordJobPrivate;
friend class DeletePasswordJob;
WritePasswordJobPrivate* const d;
};