Git: Sprinkle with auto

Change-Id: I13886e17ee49702a69450e0f0b7d161cdfed1385
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-01-22 13:52:48 +01:00
parent b0a4921b5b
commit 03c9b935de
9 changed files with 24 additions and 25 deletions

View File

@@ -226,7 +226,7 @@ QAction *GitPlugin::createRepositoryAction(ActionContainer *ac,
const Context &context, bool addToLocator,
const QKeySequence &keys)
{
QAction *action = new QAction(text, this);
auto action = new QAction(text, this);
Core::Command *command = ActionManager::registerAction(action, id, context);
if (!keys.isEmpty())
command->setDefaultKeySequence(keys);