X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreconnection.cpp;h=7112b85468e5312dd7163a0a7d4c8e5699206c55;hp=ab42b74cc23fc46f72e5d28efddaace415889af3;hb=5d99995ceee2fb9a5291d470e36319319b345276;hpb=25473e8428370d3ffc422c1cc50339b361964517 diff --git a/src/client/coreconnection.cpp b/src/client/coreconnection.cpp index ab42b74c..7112b854 100644 --- a/src/client/coreconnection.cpp +++ b/src/client/coreconnection.cpp @@ -352,7 +352,9 @@ void CoreConnection::disconnectFromCore() void CoreConnection::disconnectFromCore(const QString &errorString, bool wantReconnect) { - if (!wantReconnect) + if (wantReconnect) + _reconnectTimer.start(); + else _reconnectTimer.stop(); _wantReconnect = wantReconnect; // store if disconnect was requested