X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fnetworkinfo.cpp;h=9f87721298796157b330048c5ae15ed505a37ef3;hb=d6b056e936ec441258d291b7a8af7b83f9f53016;hp=a6e311a358f5eeaeba8361f8ae08ad2d5db25aa2;hpb=1cad7d10240a398c11af0043720d675e631f016f;p=quassel.git diff --git a/src/common/networkinfo.cpp b/src/common/networkinfo.cpp index a6e311a3..9f877212 100644 --- a/src/common/networkinfo.cpp +++ b/src/common/networkinfo.cpp @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005-07 by The Quassel Team * + * Copyright (C) 2005-07 by the Quassel IRC Team * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -166,7 +166,6 @@ IrcUser *NetworkInfo::newIrcUser(const QString &hostmask) { QString nick(nickFromMask(hostmask)); if(!_ircUsers.contains(nick)) { IrcUser *ircuser = new IrcUser(hostmask, this); - qDebug() << "new IrcUser()" << ircuser << hostmask; // mark IrcUser as already initialized to keep the SignalProxy from requesting initData if(initialized()) ircuser->setInitialized(); @@ -324,13 +323,10 @@ IrcUser *NetworkInfo::updateNickFromMask(const QString &mask) { QString nick(nickFromMask(mask)); IrcUser *ircuser; - qDebug() << "NetworkInfo::updateNickFromMask()" << mask; if(_ircUsers.contains(nick)) { - qDebug() << " is known User"; ircuser = _ircUsers[nick]; ircuser->updateHostmask(mask); } else { - qDebug() << " is new User"; ircuser = newIrcUser(mask); } return ircuser; @@ -351,7 +347,6 @@ void NetworkInfo::ircUserNickChanged(QString newnick) { void NetworkInfo::ircUserDestroyed() { IrcUser *ircuser = static_cast(sender()); Q_ASSERT(ircuser); - qDebug() << "NetworkInfo::ircUserDestroyed()" << ircuser; removeIrcUser(ircuser); }