X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=bd2d8a57f0f14508ff6502c5e6c03236b0b9a6c7;hp=940feb7f06edfa4413c3b5f83943e887350c2ea9;hb=70ed7f4b13ab21a9b3dcb61386b56ad324ed697d;hpb=1736d7414b96efc1189e56f22bd0407989c3a7c9
diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp
index 940feb7f..bd2d8a57 100644
--- a/src/client/networkmodel.cpp
+++ b/src/client/networkmodel.cpp
@@ -313,6 +313,11 @@ QString BufferItem::toolTip(int column) const {
toolTip.append(tr("Topic: %1").arg(_topic));
}
}
+ if(_ircChannel) {
+ QString channelMode = _ircChannel->channelModeString(); // channelModeString is compiled on the fly -> thus cache the result
+ if(!channelMode.isEmpty())
+ toolTip.append(tr("Mode: %1").arg(channelMode));
+ }
} else {
toolTip.append(tr("Not active
Double-click to join"));
}