X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircuser.cpp;h=223a02f5c40943f4f3ea463c071210c2acb53aff;hb=3bb86923bd1b39089abacc4fcb08bb4939ab70e0;hp=704934b74bf9bab4fb0f523eee11bde810707d68;hpb=7a6e882282779ac24e015c53e3d9fc746c08063d;p=quassel.git diff --git a/src/common/ircuser.cpp b/src/common/ircuser.cpp index 704934b7..223a02f5 100644 --- a/src/common/ircuser.cpp +++ b/src/common/ircuser.cpp @@ -49,7 +49,6 @@ IrcUser::IrcUser(const QString &hostmask, Network *network) } IrcUser::~IrcUser() { - //qDebug() << nick() << "destroyed."; } // ==================== @@ -281,10 +280,8 @@ void IrcUser::partChannel(const QString &channelname) { void IrcUser::channelDestroyed() { // private slot! IrcChannel *channel = static_cast(sender()); - Q_ASSERT(channel); if(_channels.contains(channel)) { _channels.remove(channel); - disconnect(channel, 0, this, 0); } }