projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b106c6b
)
Merge pull request #133 from mamarley/clientreconnectfix
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 8 Oct 2015 21:33:54 +0000
(23:33 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 8 Oct 2015 21:33:54 +0000
(23:33 +0200)
Keep _wantReconnect set to true by default instead of false
src/client/coreconnection.cpp
patch
|
blob
|
history
diff --git
a/src/client/coreconnection.cpp
b/src/client/coreconnection.cpp
index
0e4b4f9
..
9f876f9
100644
(file)
--- a/
src/client/coreconnection.cpp
+++ b/
src/client/coreconnection.cpp
@@
-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();
}