forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -120,7 +120,7 @@ QWidget *NinjaBuildStep::createConfigWidget()
|
|||||||
|
|
||||||
connect(this, &NinjaBuildStep::commandChanged, this, updateDetails);
|
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) {
|
connect(toolArguments, &QLineEdit::textEdited, this, [this, updateDetails](const QString &text) {
|
||||||
setCommandArgs(text);
|
setCommandArgs(text);
|
||||||
|
Reference in New Issue
Block a user