Don't unset m_has... on disconnect

This commit is contained in:
Martchus 2018-10-25 18:25:59 +02:00
parent bb6825aa4c
commit 4c4a1ebd47
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ void SyncthingConnection::connectLater(int milliSeconds)
*/
void SyncthingConnection::disconnect()
{
m_reconnecting = m_hasConfig = m_hasStatus = m_keepPolling = false;
m_reconnecting = m_keepPolling = false;
m_autoReconnectTries = 0;
abortAllRequests();
}