Bug 133612

Summary: '&' in channel list is not shown
Product: [Applications] konversation Reporter: Maurice Breitmar <maurice.breitmar>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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