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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user