From 76653fcedbd8a00c83adbfd50526acdc19a05898 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 16 Jan 2013 17:54:59 +0100 Subject: [PATCH] Minor: removed bogus stuff. --- src/mirall/credentialstore.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mirall/credentialstore.cpp b/src/mirall/credentialstore.cpp index fc32f94e2..5f0b17ca2 100644 --- a/src/mirall/credentialstore.cpp +++ b/src/mirall/credentialstore.cpp @@ -132,8 +132,6 @@ void CredentialStore::fetchCredentials() _state = AsyncFetching; if( !_user.isEmpty() ) { ReadPasswordJob *job = new ReadPasswordJob(Theme::instance()->appName()); - // job->setAutoDelete( false ); - // job->setSettings( ) job->setKey( keyChainKey( cfgFile.ownCloudUrl() ) ); connect( job, SIGNAL(finished(QKeychain::Job*)), this, @@ -280,7 +278,7 @@ void CredentialStore::saveCredentials( ) #ifdef WITH_QTKEYCHAIN // Set password in KeyChain job = new WritePasswordJob(Theme::instance()->appName()); - // job->setAutoDelete( false ); + job->setKey( keyChainKey( _url ) ); job->setTextData(_passwd);