mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
Minor Cleanups.
This commit is contained in:
parent
f3371360ed
commit
96531b548a
1 changed files with 1 additions and 4 deletions
|
@ -69,15 +69,12 @@ CredentialStore::CredState CredentialStore::state()
|
|||
|
||||
bool CredentialStore::canTryAgain()
|
||||
{
|
||||
bool canDoIt = false;
|
||||
|
||||
if( _tries > MAX_LOGIN_ATTEMPTS ) {
|
||||
qDebug() << "canTryAgain: Max attempts reached.";
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Since QtKeyChain is required now, it makes to only
|
||||
* query once. */
|
||||
/* Since QtKeyChain is required now, it makes sense to only query once. */
|
||||
if( _state == NotFetched || _state == AsyncWriting ) {
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue