projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We now send WHO every 60 seconds for all channels we are in. This keeps the nicklist,
[quassel.git]
/
src
/
client
/
networkmodel.cpp
diff --git
a/src/client/networkmodel.cpp
b/src/client/networkmodel.cpp
index
05340a3
..
e96e367
100644
(file)
--- 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(nickSet(QString)),
this, SLOT(setNick(QString)));
+ connect(ircUser, SIGNAL(awaySet(bool)),
+ this, SLOT(setAway(bool)));
}
QString IrcUserItem::nickName() const {
}
QString IrcUserItem::nickName() const {
@@
-567,6
+569,11
@@
void IrcUserItem::setNick(QString newNick) {
emit dataChanged(0);
}
emit dataChanged(0);
}
+void IrcUserItem::setAway(bool away) {
+ Q_UNUSED(away);
+ emit dataChanged(0);
+}
+
/*****************************************
* NetworkModel
*****************************************/
/*****************************************
* NetworkModel
*****************************************/