Commit b1373c48 authored by Christian Stenger's avatar Christian Stenger Committed by Tim Jenssen

CMakePM: Fix compile with Qt5.6

Change-Id: Ic50efba6b7ff70d4811b7e790e7b9c1f89a1fe44
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent f369fd8d
......@@ -375,7 +375,7 @@ bool CMakeBuildSettingsWidget::eventFilter(QObject *target, QEvent *event)
QMenu *menu = new QMenu(this);
connect(menu, &QMenu::triggered, menu, &QMenu::deleteLater);
QAction *forceToStringAction = new QAction(tr("Force to String"));
QAction *forceToStringAction = new QAction(tr("Force to String"), nullptr);
forceToStringAction->setEnabled(m_configModel->canForceToString(idx));
menu->addAction(forceToStringAction);
connect(forceToStringAction, &QAction::triggered, this, [this, idx]() { m_configModel->forceToString(idx); });
......
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