summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-12-14 10:10:26 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-12-14 10:12:12 (GMT)
commitdff377e72c1c84aefd81cf92da75d65562bec6b6 (patch)
tree8979c9c8e6d4b44ca4921169dc9a159add434765 /tools/designer
parentdacbb8b055815f629e2eeccdb7d4ca4cc5a2f839 (diff)
downloadQt-dff377e72c1c84aefd81cf92da75d65562bec6b6.zip
Qt-dff377e72c1c84aefd81cf92da75d65562bec6b6.tar.gz
Qt-dff377e72c1c84aefd81cf92da75d65562bec6b6.tar.bz2
Designer: Show actions in action editor in QKeySequence::NativeText
format as in Property editor and elsewhere for consistence. Task-number: QTBUG-6760
Diffstat (limited to 'tools/designer')
-rw-r--r--tools/designer/src/lib/shared/actionrepository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/actionrepository.cpp b/tools/designer/src/lib/shared/actionrepository.cpp
index 1655d07..83e64e6 100644
--- a/tools/designer/src/lib/shared/actionrepository.cpp
+++ b/tools/designer/src/lib/shared/actionrepository.cpp
@@ -226,7 +226,7 @@ void ActionModel::setItems(QDesignerFormEditorInterface *core, QAction *action,
item->setText(action->text());
item->setToolTip(action->text());
// shortcut
- const QString shortcut = actionShortCut(core, action).value().toString();
+ const QString shortcut = actionShortCut(core, action).value().toString(QKeySequence::NativeText);
item = sl[ShortCutColumn];
item->setText(shortcut);
item->setToolTip(shortcut);