X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=e96e367885ea5a0fc1b25e7fc0c2f0a69b9aa213;hp=05340a36becd126398b10aea92ef9d0d0a217df2;hb=c0bbc724cda7acf652d9d2ce80605ebb53c4a2ff;hpb=cb8e83ba5b400cf6957b92b3fc511c5e8369f0ee diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 05340a36..e96e3678 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -484,6 +484,8 @@ IrcUserItem::IrcUserItem(IrcUser *ircUser, AbstractTreeItem *parent) connect(ircUser, SIGNAL(nickSet(QString)), this, SLOT(setNick(QString))); + connect(ircUser, SIGNAL(awaySet(bool)), + this, SLOT(setAway(bool))); } QString IrcUserItem::nickName() const { @@ -567,6 +569,11 @@ void IrcUserItem::setNick(QString newNick) { emit dataChanged(0); } +void IrcUserItem::setAway(bool away) { + Q_UNUSED(away); + emit dataChanged(0); +} + /***************************************** * NetworkModel *****************************************/