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

@@ -303,6 +303,10 @@ QIcon IOptionsPageProvider::categoryIcon() const
// PagedSettings
PagedSettings::PagedSettings() = default;
PagedSettings::PagedSettings()
{
setSettings(this);
setAutoApply(false);
}
} // Core