fix the 'Sign In' menu entry

This commit is contained in:
Olivier Goffart 2014-02-04 15:06:09 +01:00
parent ae5c9a29f6
commit 324214d072

View file

@ -214,7 +214,8 @@ void Application::slotCheckConnection()
if (account->state() == Account::InvalidCredidential
|| account->state() == Account::SignedOut) {
//Do not try to connect if we are logged out
return;
if (!_userTriggeredConnect)
return;
}
AbstractCredentials* credentials(account->credentials());