don't replace ampersands for an underscore

in context menu actions
This commit is contained in:
Lukáš Tinkl 2014-07-18 22:36:13 +02:00
parent a0bd7c9c14
commit cdce8e5445

View File

@ -112,7 +112,7 @@ void AppletPrivate::init(const QString &packagePath, const QVariantList &args)
QAction *configAction = actions->action("configure");
if (configAction) {
configAction->setText(i18nc("%1 is the name of the applet", "%1 Settings", q->title()));
configAction->setText(i18nc("%1 is the name of the applet", "%1 Settings", q->title().replace('&', "&&")));
}
if (!appletDescription.isValid()) {