BR#117:
authorAlexander von Renteln <phon@quassel-irc.org>
Thu, 13 Mar 2008 11:00:51 +0000 (11:00 +0000)
committerAlexander von Renteln <phon@quassel-irc.org>
Thu, 13 Mar 2008 11:00:51 +0000 (11:00 +0000)
*if avaiable user modes are displayed
*hostmask is now stripped from the redundant user information

src/client/networkmodel.cpp
version.inc

index 1f794cd..7aa2082 100644 (file)
@@ -586,11 +586,12 @@ QVariant IrcUserItem::data(int column, int role) const {
 QString IrcUserItem::toolTip(int column) const {
   Q_UNUSED(column);
   QStringList toolTip(QString("<b>%1</b>").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();
index a20557b..b924a40 100644 (file)
@@ -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;