Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2012-12-04 21:10:48 +0400
committerKlaas Freitag <freitag@owncloud.com>2012-12-04 21:11:24 +0400
commitb74cfcfec53fd3dd7ceb7b157fea26518574e47e (patch)
treebb3d4f74896a89cf99275d91de3bacab975ae40d /src/mirall
parentbc67756ff67a0db27c9849f74cdf8128229fbb49 (diff)
Add missing ifdef QTKEYCHAIN.
Diffstat (limited to 'src/mirall')
-rw-r--r--src/mirall/credentialstore.cpp2
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
}
}