aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/makestep.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-05-29 07:31:22 +0200
committerChristian Stenger <christian.stenger@qt.io>2018-05-29 06:40:36 +0000
commitd5f3370a6df3fb9d5faf3fde939e771f8deb28c0 (patch)
tree9b8d48668505fc73d3c7f7f7bdea9e022fed1633 /src/plugins/projectexplorer/makestep.cpp
parentc8c6b28e225c17d1ec9a0d9ce13220a610cfa7c7 (diff)
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 <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/makestep.cpp')
-rw-r--r--src/plugins/projectexplorer/makestep.cpp2
1 files changed, 1 insertions, 1 deletions
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<int>(&QSpinBox::valueChanged), this, [this](int value) {
+ connect(m_ui->userJobCount, QOverload<int>::of(&QSpinBox::valueChanged), this, [this](int value) {
m_makeStep->setJobCount(value);
updateDetails();
});