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:
hjk
2023-05-10 17:04:22 +02:00
parent 0449a3fdab
commit 5614696002
9 changed files with 8 additions and 26 deletions

View File

@@ -26,15 +26,12 @@ static SimpleCodeStylePreferences *m_globalCodeStyle = nullptr;
NimSettings::NimSettings()
{
setAutoApply(false);
setSettingsGroups("Nim", "NimSuggest");
setId(Nim::Constants::C_NIMTOOLSSETTINGSPAGE_ID);
setDisplayName(Tr::tr("Tools"));
setCategory(Nim::Constants::C_NIMTOOLSSETTINGSPAGE_CATEGORY);
setDisplayCategory(Tr::tr("Nim"));
setCategoryIconPath(":/nim/images/settingscategory_nim.png");
setSettings(this);
setLayouter([this](QWidget *widget) {
using namespace Layouting;