From c0fa5d1df4bb0eca52cdb0a27b6f49550bbc9065 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kundr=C3=A1t?= Date: Fri, 3 Oct 2014 12:55:44 +0200 Subject: [PATCH] Make sure that changes to the offline state are communicated properly Change-Id: Ic5173b61b29718be1b63f56761ad27455c2b6720 --- src/Imap/Model/Model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Imap/Model/Model.cpp b/src/Imap/Model/Model.cpp index c75bf0ca..46a2b9de 100644 --- a/src/Imap/Model/Model.cpp +++ b/src/Imap/Model/Model.cpp @@ -1089,7 +1089,7 @@ void Model::setNetworkPolicy(const NetworkPolicy policy) task->die(tr("Going offline")); } it->logoutCmd = it->parser->logout(); - it->connState = CONN_STATE_LOGOUT; + changeConnectionState(it->parser, CONN_STATE_LOGOUT); } m_netPolicy = NETWORK_OFFLINE; m_periodicMailboxNumbersRefresh->stop(); -- 2.11.4.GIT