forked from qt-creator/qt-creator
Use the new BaseAspect::addOnChanged in a few places
... and in some cases move it closer to the aspect setup. I kept the original location in cases where the order possibly matters. Change-Id: I4774ea355d0d1e3cf890676a84121195fca6d406 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -45,10 +45,7 @@ public:
|
||||
arguments.setSettingsKey("AutotoolsProjectManager.ConfigureStep.AdditionalArguments");
|
||||
arguments.setLabelText(Tr::tr("Arguments:"));
|
||||
arguments.setHistoryCompleter("AutotoolsPM.History.ConfigureArgs");
|
||||
|
||||
connect(&arguments, &BaseAspect::changed, this, [this] {
|
||||
m_runConfigure = true;
|
||||
});
|
||||
arguments.addOnChanged(this, [this] { m_runConfigure = true; });
|
||||
|
||||
setCommandLineProvider([this] {
|
||||
return getCommandLine(arguments());
|
||||
|
||||
Reference in New Issue
Block a user