[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/cppsupport
From: Roberto Raggi <roberto () kdevelop ! org>
Date: 2003-09-08 8:07:48
[Download RAW message or body]
CVS commit by raggi:
bugfix: quote the '&' in menu items
M +10 -8 cppsupportpart.cpp 1.225
--- kdevelop/parts/cppsupport/cppsupportpart.cpp #1.224:1.225
@@ -464,4 +464,5 @@ void CppSupportPart::contextMenu(QPopupM
text += "::";
text += formatModelItem( *it, true );
+ text = text.replace( QString::fromLatin1("&"), QString::fromLatin1("&&") );
int id = m->insertItem( text, this, SLOT(gotoLine(int)) );
int line, column;
@@ -493,4 +494,5 @@ void CppSupportPart::contextMenu(QPopupM
text += "::";
text += formatModelItem( *it, true );
+ text = text.replace( QString::fromLatin1("&"), QString::fromLatin1("&&") );
int id = m2->insertItem( text, this, SLOT(gotoDeclarationLine(int)) );
int line, column;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic