-rw-r--r-- | noncore/net/opieirc/ircchanneltab.cpp | 5 |
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 @@ -187,9 +187,12 @@ void IRCChannelTab::popupWhois() { 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(); |