Commit 5f5c9c9d authored by hjk's avatar hjk
Browse files

creator plugin template: compile fix

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2655
parent e78b8cf4
......@@ -47,7 +47,7 @@ bool %PluginName%Impl::initialize(const QStringList &arguments, QString *errorSt
Core::ActionManager *am = Core::ICore::instance()->actionManager();
QAction *action = new QAction(tr("%PluginName% action"), this);
Core::Command *cmd = am->registerAction(action, QLatin1String(ACTION_ID),
Core::Command *cmd = am->registerAction(action, ACTION_ID,
Core::Context(Core::Constants::C_GLOBAL));
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+Meta+A")));
connect(action, SIGNAL(triggered()), this, SLOT(triggerAction()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment