Skip to content

Commit

Permalink
Continue try to reconnect with the backend, so the notification about…
Browse files Browse the repository at this point in the history
… the backend being available is shown quickly

The logic seems a bit convoluted, but this is to keep the same logic as introduced in 943b142
  • Loading branch information
jyavenard committed Jul 8, 2013
1 parent 7dcf2a5 commit 2d956ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mythtv/programs/mythfrontend/backendconnectionmanager.cpp
Expand Up @@ -89,8 +89,12 @@ void BackendConnectionManager::customEvent(QEvent *event)
delete m_reconnecting;
m_reconnecting = NULL;

if (!m_reconnect_again)
{
m_reconnect_again = message == "RECONNECT_FAILURE";
}
reconnect = m_reconnect_again;
m_reconnect_again = false;
m_reconnect_again = message == "RECONNECT_FAILURE";
}
}

Expand Down

0 comments on commit 2d956ac

Please sign in to comment.