forked from qt-creator/qt-creator
Git: Sprinkle with auto
Change-Id: I13886e17ee49702a69450e0f0b7d161cdfed1385 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user