aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Jeandet <alexis.jeandet@member.fsf.org>2021-02-03 22:14:10 +0100
committerAlexis Jeandet <alexis.jeandet@member.fsf.org>2021-02-04 09:28:41 +0000
commit303008a09ad3d42883072a246e841996f88f1950 (patch)
tree151378993e6ec4d7506fad750a617f8d836c6cca
parent3468d302866171c174a6099593503e50700634f0 (diff)
Meson plugin: Fix segfault when switching build type
Change-Id: I837e0a7ba8dd731438d36cfb766fd60c9643be73 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/plugins/mesonprojectmanager/project/ninjabuildstep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/mesonprojectmanager/project/ninjabuildstep.cpp b/src/plugins/mesonprojectmanager/project/ninjabuildstep.cpp
index 931d7de279..2070942c9e 100644
--- a/src/plugins/mesonprojectmanager/project/ninjabuildstep.cpp
+++ b/src/plugins/mesonprojectmanager/project/ninjabuildstep.cpp
@@ -120,7 +120,7 @@ QWidget *NinjaBuildStep::createConfigWidget()
connect(this, &NinjaBuildStep::commandChanged, this, updateDetails);
- connect(this, &NinjaBuildStep::targetListChanged, this, updateTargetList);
+ connect(this, &NinjaBuildStep::targetListChanged, widget, updateTargetList);
connect(toolArguments, &QLineEdit::textEdited, this, [this, updateDetails](const QString &text) {
setCommandArgs(text);