Merge pull request #2195 from wincinderith/login-error-fix
Prevent login error handler being incorrectly called
This commit is contained in:
commit
a4b1a79cd4
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ void RemoteClient::loginResponse(const Response &response)
|
||||||
if (resp.missing_features_size() > 0 && settingsCache->getNotifyAboutUpdates())
|
if (resp.missing_features_size() > 0 && settingsCache->getNotifyAboutUpdates())
|
||||||
emit notifyUserAboutUpdate();
|
emit notifyUserAboutUpdate();
|
||||||
|
|
||||||
} else {
|
} else if (response.response_code() != Response::RespNotConnected) {
|
||||||
QList<QString> missingFeatures;
|
QList<QString> missingFeatures;
|
||||||
if (resp.missing_features_size() > 0) {
|
if (resp.missing_features_size() > 0) {
|
||||||
for (int i = 0; i < resp.missing_features_size(); ++i)
|
for (int i = 0; i < resp.missing_features_size(); ++i)
|
||||||
|
@ -397,4 +397,4 @@ void RemoteClient::doIdleTimeOut()
|
||||||
void RemoteClient::resetIdleTimer()
|
void RemoteClient::resetIdleTimer()
|
||||||
{
|
{
|
||||||
emit resetIdleTimerClock();
|
emit resetIdleTimerClock();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue