summaryrefslogtreecommitdiff
authorskyhusker <skyhusker>2005-06-09 17:37:13 (UTC)
committer skyhusker <skyhusker>2005-06-09 17:37:13 (UTC)
commit5173a392a1422add3e3ae2a38d6bd4eb5df3cf87 (patch) (side-by-side diff)
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
@@ -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();