X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=45204faa96be88a8597bda4f05eb9030b6cf38fb;hp=73208201f0bd2d2bb6d8297b596184cec1eecdc9;hb=cbecee60fe1b842f2896a118bce0fe19ab1b67c6;hpb=f9fc50a5e043668a2525a6c0903ea339d4ba05b7 diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 73208201..45204faa 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -74,7 +74,7 @@ bool BufferItem::isActive() const { if(bufferType() == ChannelType) return _ircChannel; else - return true; + return qobject_cast(parent())->isActive(); } BufferItem::ActivityLevel BufferItem::activity() const { @@ -239,6 +239,8 @@ void NetworkItem::attachNetwork(Network *network) { connect(network, SIGNAL(ircChannelAdded(QString)), this, SLOT(attachIrcChannel(QString))); // FIXME: connect this and that... + + emit dataChanged(); } void NetworkItem::attachIrcChannel(const QString &channelName) {