aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/macros/macrooptionswidget.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2012-11-26 20:55:11 +0200
committerFriedemann Kleint <[email protected]>2012-11-27 08:54:56 +0100
commit9be874ba25d930361469a625a4c72dade699f6c1 (patch)
tree38c34d3390d432d3d9c6d23251afba29519847d5 /src/plugins/macros/macrooptionswidget.cpp
parentd74784fab69b6f351c484cb8162f363a2c809edd (diff)
Macros: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Idd493b3e6e6b9ea2a33aea77d338d690d14d9b47 Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/plugins/macros/macrooptionswidget.cpp')
-rw-r--r--src/plugins/macros/macrooptionswidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/macros/macrooptionswidget.cpp b/src/plugins/macros/macrooptionswidget.cpp
index bf7105230d9..267d6e1cd08 100644
--- a/src/plugins/macros/macrooptionswidget.cpp
+++ b/src/plugins/macros/macrooptionswidget.cpp
@@ -111,7 +111,8 @@ void MacroOptionsWidget::createTable()
macroItem->setData(0, WRITE_ROLE, it.value()->isWritable());
Core::Command *command =
- Core::ActionManager::command(Core::Id(Constants::PREFIX_MACRO+it.value()->displayName()));
+ Core::ActionManager::command(Core::Id(QLatin1String(Constants::PREFIX_MACRO)
+ + it.value()->displayName()));
if (command && command->shortcut())
macroItem->setText(2, command->shortcut()->key().toString());
}