summaryrefslogtreecommitdiff
authorskyhusker <skyhusker>2005-06-09 17:37:13 (UTC)
committer skyhusker <skyhusker>2005-06-09 17:37:13 (UTC)
commit5173a392a1422add3e3ae2a38d6bd4eb5df3cf87 (patch) (unidiff)
treece9d8b66e60e6028b7524b8e3ac8f45d6afa2332
parent2ed64fcf5a3c93ce613e63461cb925568c7df887 (diff)
downloadopie-5173a392a1422add3e3ae2a38d6bd4eb5df3cf87.zip
opie-5173a392a1422add3e3ae2a38d6bd4eb5df3cf87.tar.gz
opie-5173a392a1422add3e3ae2a38d6bd4eb5df3cf87.tar.bz2
Fix cosmetic error displaying channels starting with '&'
Diffstat (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
@@ -188,7 +188,10 @@ void IRCChannelTab::popupWhois() {
188} 188}
189 189
190QString IRCChannelTab::title() { 190QString 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
194IRCSession *IRCChannelTab::session() { 197IRCSession *IRCChannelTab::session() {