forked from qt-creator/qt-creator
VcsBase: Pass context object to lambda connections
Remove some unneeded lambda () brackets. Change-Id: I20e43625793401544e86efb627f5921c395026bb Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -250,7 +250,7 @@ void GerritPlugin::initialize(ActionContainer *ac)
|
||||
|
||||
m_pushToGerritCommand =
|
||||
ActionManager::registerAction(pushAction, Constants::GERRIT_PUSH);
|
||||
connect(pushAction, &QAction::triggered, this, [this]() { push(); });
|
||||
connect(pushAction, &QAction::triggered, this, [this] { push(); });
|
||||
ac->addAction(m_pushToGerritCommand);
|
||||
|
||||
auto options = new GerritOptionsPage(m_parameters, this);
|
||||
|
||||
Reference in New Issue
Block a user