From 70ec9c9f9296d418b928190941b1b685e15320d8 Mon Sep 17 00:00:00 2001 From: Skycoder42 Date: Mon, 26 Feb 2018 23:46:24 +0100 Subject: [PATCH] . --- src/imports/mvvmquick/settingssectionmodel.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/imports/mvvmquick/settingssectionmodel.cpp b/src/imports/mvvmquick/settingssectionmodel.cpp index aef4007..d59b953 100644 --- a/src/imports/mvvmquick/settingssectionmodel.cpp +++ b/src/imports/mvvmquick/settingssectionmodel.cpp @@ -10,9 +10,9 @@ const QList SettingsSectionModel::FilterRoles { }; SettingsSectionModel::SettingsSectionModel(QObject *parent) : - QAbstractListModel{parent}, - _sections{}, - _hasSections{false} + QAbstractListModel(parent), + _sections(), + _hasSections(false) {} void SettingsSectionModel::setup(const SettingsElements::Setup &setup) @@ -97,8 +97,8 @@ bool SettingsSectionModel::hasSections() const SettingsSectionModel::SectionInfo::SectionInfo(SettingsElements::Section section, SettingsElements::Category category) : - Section{section}, - category{category} + Section(section), + category(category) { icon = SettingsUiBuilder::svgEscape(icon); category.sections.clear(); @@ -106,7 +106,7 @@ SettingsSectionModel::SectionInfo::SectionInfo(SettingsElements::Section section SettingsSectionModel::SectionInfo::SectionInfo(SettingsElements::Category category) : Section{category.title, category.icon, category.tooltip, category.sections.first().groups, {}, {}}, - category{} + category() { icon = SettingsUiBuilder::svgEscape(icon); }