Bug 133612 - '&' in channel list is not shown
Summary: '&' in channel list is not shown
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 21:31 UTC by Maurice Breitmar
Modified: 2006-09-05 22:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice Breitmar 2006-09-05 21:31:44 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages
OS:                Linux

In the new channel list in Konversation 1.0 the channel #c&c is shown as '#cc' where the 2nd c is underlined, so it treats the ampersand as a shortcut like in a normal menu.
Comment 1 Eike Hein 2006-09-05 22:13:08 UTC
SVN commit 581261 by hein:

Don't accelfy ampersands in treelist labels.
BUG:133612


 M  +1 -0      ChangeLog  
 M  +1 -1      src/viewtreeitem.cpp  


--- trunk/extragear/network/konversation/ChangeLog #581260:581261
@@ -1,6 +1,7 @@
 Changes since 1.0:
 - Properly update "Switch to" tab context sub-menu on tab switch.
 - Fix dcop irc::setBack.
+- Don't treat & in tab names as accels in treelist items.
 
 -------------------------------------------------------------------------------
 
--- trunk/extragear/network/konversation/src/viewtreeitem.cpp #581260:581261
@@ -468,7 +468,7 @@
 
             thePainter.setPen(textColor);
             thePainter.setFont(listView()->font());
-            thePainter.drawText(xText, 0, textWidth, height(), Qt::AlignAuto | Qt::AlignVCenter | Qt::ShowPrefix, theText);
+            thePainter.drawText(xText, 0, textWidth, height(), Qt::AlignAuto | Qt::AlignVCenter, theText);
         }
     }
     else