forked from qt-creator/qt-creator
ProjectExplorer: Remove connection
That was not removed in a83bf58b. The slot was moved into a lambda,
but the connection was not removed.
Change-Id: Ieb2883f9721b1b513c56aa95625b7ae038a33ad0
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -381,8 +381,6 @@ void RunSettingsWidget::aboutToShowDeployMenu()
|
||||
QAction *action = m_addDeployMenu->addAction(factory->displayNameForId(id));
|
||||
DeployFactoryAndId data = { factory, id };
|
||||
action->setData(QVariant::fromValue(data));
|
||||
connect(action, SIGNAL(triggered()),
|
||||
this, SLOT(addDeployConfiguration()));
|
||||
connect(action, &QAction::triggered, [factory, id, this]() {
|
||||
if (!factory->canCreate(m_target, id))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user