From kdevelop-bugs Mon Nov 29 14:14:09 2010 From: Milian Wolff Date: Mon, 29 Nov 2010 14:14:09 +0000 To: kdevelop-bugs Subject: [Bug 258238] ampercend (visible accelerator) in Filter clickmessage Message-Id: <20101129141409.5BAB475D3D () immanuel ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=129104018403660 https://bugs.kde.org/show_bug.cgi?id=258238 Milian Wolff changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #1 from Milian Wolff 2010-11-29 15:14:08 --- commit ba1be5c32f6920125fe52e6c90205de9220850cd branch master Author: Milian Wolff Date: Mon Nov 29 15:13:56 2010 +0100 use plain string, not text() as that can contain an ampersand for the accellerator BUG: 258238 diff --git a/plugins/projectmanagerview/projectmanagerview.cpp b/plugins/projectmanagerview/projectmanagerview.cpp index 2c907c6..47946db 100644 --- a/plugins/projectmanagerview/projectmanagerview.cpp +++ b/plugins/projectmanagerview/projectmanagerview.cpp @@ -90,7 +90,7 @@ ProjectManagerFilterAction::ProjectManagerFilterAction( QObject* parent ) QWidget* ProjectManagerFilterAction::createWidget( QWidget* parent ) { KLineEdit* edit = new KLineEdit(parent); - edit->setClickMessage(text()); + edit->setClickMessage(i18n("Filter...")); edit->setClearButtonShown(true); connect(edit, SIGNAL(textChanged(QString)), this, SIGNAL(filterChanged(QString))); return edit; -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs