forked from qt-creator/qt-creator
CMakeProjectManager: Fix compile with Qt5.6 / gcc 4.8
Broke with b3b6cfb5ef.
Change-Id: I0a105c16168a7b6652b8880c190dad309979ffff
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
137a34b9ca
commit
d4024642fe
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user