X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fcoreconnection.cpp;h=e916d7f0cfdeb986a2b1f15cfbb2e3a61d1690ad;hb=73f9fcde56bcf4d55b73eb88a8d6cf8dc9f9f814;hp=0e4b4f94646c48bb8e9191cdbe3ef779f21bee0f;hpb=1cb02004ee5973b89368bd84f234d4652794690d;p=quassel.git diff --git a/src/client/coreconnection.cpp b/src/client/coreconnection.cpp index 0e4b4f94..e916d7f0 100644 --- a/src/client/coreconnection.cpp +++ b/src/client/coreconnection.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -216,6 +216,8 @@ void CoreConnection::setState(ConnectionState state) if (state != _state) { _state = state; emit stateChanged(state); + if (state == Connected) + _wantReconnect = true; if (state == Disconnected) emit disconnected(); }