author | skyhusker <skyhusker> | 2005-06-09 17:37:13 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-06-09 17:37:13 (UTC) |
commit | 5173a392a1422add3e3ae2a38d6bd4eb5df3cf87 (patch) (unidiff) | |
tree | ce9d8b66e60e6028b7524b8e3ac8f45d6afa2332 /noncore | |
parent | 2ed64fcf5a3c93ce613e63461cb925568c7df887 (diff) | |
download | opie-5173a392a1422add3e3ae2a38d6bd4eb5df3cf87.zip opie-5173a392a1422add3e3ae2a38d6bd4eb5df3cf87.tar.gz opie-5173a392a1422add3e3ae2a38d6bd4eb5df3cf87.tar.bz2 |
Fix cosmetic error displaying channels starting with '&'
-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 | |||
@@ -188,7 +188,10 @@ void IRCChannelTab::popupWhois() { | |||
188 | } | 188 | } |
189 | 189 | ||
190 | QString IRCChannelTab::title() { | 190 | QString IRCChannelTab::title() { |
191 | return m_channel->channelname(); | 191 | if(!m_channel->channelname().startsWith("&")) |
192 | return m_channel->channelname(); | ||
193 | |||
194 | return "&" + m_channel->channelname(); | ||
192 | } | 195 | } |
193 | 196 | ||
194 | IRCSession *IRCChannelTab::session() { | 197 | IRCSession *IRCChannelTab::session() { |