X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=bd2d8a57f0f14508ff6502c5e6c03236b0b9a6c7;hb=2dc003e929312add334ccb4d48b453d942d89b7b;hp=940feb7f06edfa4413c3b5f83943e887350c2ea9;hpb=1066294489c2469323a2813b63ae4653d148bbc7;p=quassel.git 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")); }