diff options
Diffstat (limited to 'src/plugins/texteditor/behaviorsettings.cpp')
-rw-r--r-- | src/plugins/texteditor/behaviorsettings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/texteditor/behaviorsettings.cpp b/src/plugins/texteditor/behaviorsettings.cpp index f8356d6916..0a63886716 100644 --- a/src/plugins/texteditor/behaviorsettings.cpp +++ b/src/plugins/texteditor/behaviorsettings.cpp @@ -33,18 +33,18 @@ BehaviorSettings::BehaviorSettings() : { } -void BehaviorSettings::toSettings(const QString &category) const +void BehaviorSettings::toSettings(const Key &category) const { - Utils::toSettings(QLatin1String(groupPostfix), category, Core::ICore::settings(), this); + Utils::toSettings(groupPostfix, category, Core::ICore::settings(), this); } -void BehaviorSettings::fromSettings(const QString &category) +void BehaviorSettings::fromSettings(const Key &category) { *this = BehaviorSettings(); - Utils::fromSettings(QLatin1String(groupPostfix), category, Core::ICore::settings(), this); + Utils::fromSettings(groupPostfix, category, Core::ICore::settings(), this); } -QVariantMap BehaviorSettings::toMap() const +Store BehaviorSettings::toMap() const { return { {mouseHidingKey, m_mouseHiding}, |