Commit 543ab54f authored by hjk's avatar hjk

Git: Simplify use of Core::Id

Change-Id: Ib7d68fa0627eda28865e2fa7baf61e9ed40914c9
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent d29c3dc4
......@@ -605,7 +605,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
for (int i = 0; i < count; i++) {
Core::Command *tCommand
= Core::ActionManager::registerAction(snapShotActions.at(i),
Core::Id(QLatin1String("Git.Snapshot.") + QString::number(i)),
Core::Id("Git.Snapshot.").withSuffix(i),
globalcontext);
gitContainer->addAction(tCommand);
}
......
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