summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircchanneltab.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.cpp b/noncore/net/opieirc/ircchanneltab.cpp
index 707e17f..881ded7 100644
--- a/noncore/net/opieirc/ircchanneltab.cpp
+++ b/noncore/net/opieirc/ircchanneltab.cpp
@@ -185,13 +185,16 @@ void IRCChannelTab::popupVersion() {
void IRCChannelTab::popupWhois() {
if(m_list->currentItem() != -1)
m_parentTab->session()->whois(m_list->text(m_list->currentItem()));
}
QString IRCChannelTab::title() {
- return m_channel->channelname();
+ if(!m_channel->channelname().startsWith("&"))
+ return m_channel->channelname();
+
+ return "&" + m_channel->channelname();
}
IRCSession *IRCChannelTab::session() {
return m_parentTab->session();
}