mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Minor: removed bogus stuff.
This commit is contained in:
parent
dd0cfec225
commit
76653fcedb
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue