From d5f3370a6df3fb9d5faf3fde939e771f8deb28c0 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 29 May 2018 07:31:22 +0200 Subject: ProjectExplorer: Fix compile for older compiler qOverload() needs support for variable templates, which GCC 4.9 does not support yet (it is only supported since GCC 5) Change-Id: I79d6d234cdfb36ec539fcccc6619be39fae1b1fa Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/makestep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/projectexplorer/makestep.cpp') diff --git a/src/plugins/projectexplorer/makestep.cpp b/src/plugins/projectexplorer/makestep.cpp index 230d990dc2..4473c1b5e8 100644 --- a/src/plugins/projectexplorer/makestep.cpp +++ b/src/plugins/projectexplorer/makestep.cpp @@ -365,7 +365,7 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep) : this, &MakeStepConfigWidget::makeLineEditTextEdited); connect(m_ui->makeArgumentsLineEdit, &QLineEdit::textEdited, this, &MakeStepConfigWidget::makeArgumentsLineEditTextEdited); - connect(m_ui->userJobCount, qOverload(&QSpinBox::valueChanged), this, [this](int value) { + connect(m_ui->userJobCount, QOverload::of(&QSpinBox::valueChanged), this, [this](int value) { m_makeStep->setJobCount(value); updateDetails(); }); -- cgit v1.2.3