From 5173a392a1422add3e3ae2a38d6bd4eb5df3cf87 Mon Sep 17 00:00:00 2001 From: skyhusker Date: Thu, 09 Jun 2005 17:37:13 +0000 Subject: Fix cosmetic error displaying channels starting with '&' --- (limited to 'noncore/net/opieirc/ircchanneltab.cpp') 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 @@ -188,7 +188,10 @@ void IRCChannelTab::popupWhois() { } QString IRCChannelTab::title() { - return m_channel->channelname(); + if(!m_channel->channelname().startsWith("&")) + return m_channel->channelname(); + + return "&" + m_channel->channelname(); } IRCSession *IRCChannelTab::session() { -- cgit v0.9.0.2