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:
-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
}
}