From 602dff8eeccc5460051f5e34e877e16bb4eb0341 Mon Sep 17 00:00:00 2001 From: Alexander von Renteln Date: Thu, 13 Mar 2008 11:00:51 +0000 Subject: [PATCH] BR#117: *if avaiable user modes are displayed *hostmask is now stripped from the redundant user information --- src/client/networkmodel.cpp | 3 ++- version.inc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 1f794cd1..7aa2082f 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -586,11 +586,12 @@ QVariant IrcUserItem::data(int column, int role) const { QString IrcUserItem::toolTip(int column) const { Q_UNUSED(column); QStringList toolTip(QString("%1").arg(nickName())); + if(_ircUser->userModes() != "") toolTip[0].append(QString("(%1)").arg(_ircUser->userModes())); if(_ircUser->isAway()) toolTip[0].append(" is away"); if(!_ircUser->awayMessage().isEmpty()) toolTip[0].append(QString(" (%1)").arg(_ircUser->awayMessage())); if(!_ircUser->realName().isEmpty()) toolTip.append(_ircUser->realName()); if(!_ircUser->ircOperator().isEmpty()) toolTip.append(_ircUser->ircOperator()); - toolTip.append(_ircUser->hostmask()); + toolTip.append(_ircUser->hostmask().remove(0, _ircUser->hostmask().indexOf("!")+1)); if(_ircUser->idleTime().isValid()) { QDateTime now = QDateTime::currentDateTime(); diff --git a/version.inc b/version.inc index a20557bd..b924a40e 100644 --- a/version.inc +++ b/version.inc @@ -4,8 +4,8 @@ { using namespace Global; quasselVersion = "0.2.0-alpha3-pre"; - quasselDate = "2008-03-12"; - quasselBuild = 632; + quasselDate = "2008-03-13"; + quasselBuild = 634; //! Minimum client build number the core needs clientBuildNeeded = 628; -- 2.20.1