Call socketDisconnected() from socketStateChanged() 134/head
authorMichael Marley <michael@michaelmarley.com>
Thu, 23 Apr 2015 22:05:31 +0000 (18:05 -0400)
committerMichael Marley <michael@michaelmarley.com>
Thu, 23 Apr 2015 22:05:31 +0000 (18:05 -0400)
commitb9347595868ce9ec071ecf5057a04eb87d3e8e48
tree65ffb97018edf5f80a0b4ec76f778052f26e18c6
parent8e2f578b3d83d2dd7b6f2ea64d350693073ffed1
Call socketDisconnected() from socketStateChanged()

This makes sure that socketDisconnected() is always called when
Quassel disconnects even if it isn't fully connected yet.
Otherwise, reconnect occasionally fails to work properly.
src/core/corenetwork.cpp