Commit b210294c authored by hjk's avatar hjk
Browse files

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: default avatarChristian Kandeler <>
parent c3d55594
...@@ -381,8 +381,6 @@ void RunSettingsWidget::aboutToShowDeployMenu() ...@@ -381,8 +381,6 @@ void RunSettingsWidget::aboutToShowDeployMenu()
QAction *action = m_addDeployMenu->addAction(factory->displayNameForId(id)); QAction *action = m_addDeployMenu->addAction(factory->displayNameForId(id));
DeployFactoryAndId data = { factory, id }; DeployFactoryAndId data = { factory, id };
action->setData(QVariant::fromValue(data)); action->setData(QVariant::fromValue(data));
connect(action, SIGNAL(triggered()),
this, SLOT(addDeployConfiguration()));
connect(action, &QAction::triggered, [factory, id, this]() { connect(action, &QAction::triggered, [factory, id, this]() {
if (!factory->canCreate(m_target, id)) if (!factory->canCreate(m_target, id))
return; return;
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