[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/network/konversation/src
From: Peter Simonsson <psn () linux ! se>
Date: 2006-07-01 0:16:02
Message-ID: 1151712962.799516.20419.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 556643 by psn:
Fix display of channel names containing &
BUG: 130086
M +1 -8 konversationmainwindow.cpp
--- trunk/extragear/network/konversation/src/konversationmainwindow.cpp \
#556642:556643 @@ -963,17 +963,10 @@
Channel* KonversationMainWindow::addChannel(Server* server, const QString& name)
{
- // Some IRC channels begin with ampersands (server local channels)
- // Accelerators don't belong in channel names, filter ampersands
-
- // Copy the name first
- QString newname = name;
- newname.replace('&', "&&");
-
Channel* channel=new Channel(getViewContainer());
channel->setServer(server);
channel->setName(name);
- addView(channel, newname);
+ addView(channel, name);
connect(this, SIGNAL(updateChannelAppearance()), channel, \
SLOT(updateAppearance())); connect(channel, \
SIGNAL(updateTabNotification(ChatWindow*,const Konversation::TabNotifyType&)), this, \
SLOT(setTabNotification(ChatWindow*,const Konversation::TabNotifyType&)));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic