From b7573a7400bcd1283f21b3c7c9ab7a54e3e504f2 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 4 Sep 2020 13:36:44 +0200 Subject: [PATCH] QmakePM: Fix possible nullptr access Amends fc1fc6a07af5. Change-Id: I0a77c3834fc8e68de2f2d3ab379256c7adc00260 Reviewed-by: hjk --- src/plugins/qmakeprojectmanager/qmakestep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmakeprojectmanager/qmakestep.cpp b/src/plugins/qmakeprojectmanager/qmakestep.cpp index b4fbfee568b..951e429ea70 100644 --- a/src/plugins/qmakeprojectmanager/qmakestep.cpp +++ b/src/plugins/qmakeprojectmanager/qmakestep.cpp @@ -566,7 +566,7 @@ BuildStepConfigWidget *QMakeStep::createConfigWidget() connect(project(), &Project::projectLanguagesUpdated, this, &QMakeStep::linkQmlDebuggingLibraryChanged); connect(target(), &Target::parsingFinished, - this, &QMakeStep::updateEffectiveQMakeCall); + qmakeArgumentsEdit, [this]() { updateEffectiveQMakeCall(); }); connect(qmakeBuildConfiguration(), &QmakeBuildConfiguration::useQtQuickCompilerChanged, this, &QMakeStep::useQtQuickCompilerChanged); connect(qmakeBuildConfiguration(), &QmakeBuildConfiguration::separateDebugInfoChanged,