Fix crash with KDE network detection
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 May 2014 18:37:36 +0000 (20:37 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 May 2014 18:40:30 +0000 (20:40 +0200)
commit3cb1cbe5d10a4233fcade97a0e69f25c671a90bd
tree705fa30fabaea87fd4def331de723eafb949db27
parent575f27ef7b7b335b56c5045d0b2c6514855ec82a
Fix crash with KDE network detection

If the network connection status changed during authentication phase,
Quassel would crash. This is caused by some old bits of code that still
assume that there's always a Peer around, which is no longer the case
after splitting off the AuthHandler.

This commit fixes that issue. Thanks to shadeslayer for the report and
really useful backtrace.
src/client/coreconnection.cpp
src/common/authhandler.cpp
src/common/authhandler.h