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

CMakeProjectManager: Fix compile with Qt5.6 / gcc 4.8

Broke with b3b6cfb5.

Change-Id: I0a105c16168a7b6652b8880c190dad309979ffff
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 137a34b9
......@@ -314,8 +314,8 @@ void CMakeGeneratorKitConfigWidget::changeGenerator()
auto *bb = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
layout->addWidget(bb, row, 0, 1, 2);
connect(bb, &QDialogButtonBox::accepted, changeDialog, &QDialog::accept);
connect(bb, &QDialogButtonBox::rejected, changeDialog, &QDialog::reject);
connect(bb, &QDialogButtonBox::accepted, changeDialog.data(), &QDialog::accept);
connect(bb, &QDialogButtonBox::rejected, changeDialog.data(), &QDialog::reject);
cmakeLabel->setText(m_currentTool->cmakeExecutable().toUserOutput());
......
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