Add missing ifdef QTKEYCHAIN.

This commit is contained in:
Klaas Freitag 2012-12-04 18:10:48 +01:00
parent bc67756ff6
commit b74cfcfec5

View File

@ -263,10 +263,12 @@ void CredentialStore::slotKeyChainWriteFinished( QKeychain::Job *job )
// Called if a user chooses to not store the password locally.
void CredentialStore::deleteKeyChainCredential( const QString& key )
{
#ifdef WITH_QTKEYCHAIN
// Start the remove job, do not care so much about the result.
DeletePasswordJob *job = new DeletePasswordJob(Theme::instance()->appName());
job->setKey( key );
job->start();
#endif
}
}