diff options
author | Klaas Freitag <freitag@owncloud.com> | 2012-12-04 21:10:48 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2012-12-04 21:11:24 +0400 |
commit | b74cfcfec53fd3dd7ceb7b157fea26518574e47e (patch) | |
tree | bb3d4f74896a89cf99275d91de3bacab975ae40d /src/mirall | |
parent | bc67756ff67a0db27c9849f74cdf8128229fbb49 (diff) |
Add missing ifdef QTKEYCHAIN.
Diffstat (limited to 'src/mirall')
-rw-r--r-- | src/mirall/credentialstore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mirall/credentialstore.cpp b/src/mirall/credentialstore.cpp index 1af19f25a..d9df04970 100644 --- a/src/mirall/credentialstore.cpp +++ b/src/mirall/credentialstore.cpp @@ -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 } } |