forked from qt-creator/qt-creator
Core: Make PagedSettings autoapply by default in the base
Instead of relying (and forgetting...) it in all derived clases. Change-Id: I5d1dea0ace420d464c39c192278ae6e5db01de90 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -20,7 +20,7 @@ BoostTestSettings::BoostTestSettings(Id settingsId)
|
||||
setId(settingsId);
|
||||
setCategory(Constants::AUTOTEST_SETTINGS_CATEGORY);
|
||||
setDisplayName(Tr::tr(BoostTest::Constants::FRAMEWORK_SETTINGS_CATEGORY));
|
||||
setSettings(this);
|
||||
setSettingsGroups("Autotest", "BoostTest");
|
||||
|
||||
setLayouter([this](QWidget *widget) {
|
||||
Row { Form {
|
||||
@@ -33,9 +33,6 @@ BoostTestSettings::BoostTestSettings(Id settingsId)
|
||||
}, st}.attachTo(widget);
|
||||
});
|
||||
|
||||
setSettingsGroups("Autotest", "BoostTest");
|
||||
setAutoApply(false);
|
||||
|
||||
registerAspect(&logLevel);
|
||||
logLevel.setSettingsKey("LogLevel");
|
||||
logLevel.setDisplayStyle(SelectionAspect::DisplayStyle::ComboBox);
|
||||
|
||||
Reference in New Issue
Block a user