forked from qt-creator/qt-creator
Utils: Rename the new Storage to Store
Apparently that's what the young people on the web use for such a thing. Change-Id: I75d5396ff3cb3c26efd6008b5f2261354c4f7896 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -222,14 +222,14 @@ void ICodeStylePreferences::fromSettings(const QString &category)
|
||||
Utils::fromSettings(d->m_settingsSuffix, category, Core::ICore::settings(), this);
|
||||
}
|
||||
|
||||
Storage ICodeStylePreferences::toMap() const
|
||||
Store ICodeStylePreferences::toMap() const
|
||||
{
|
||||
if (!currentDelegate())
|
||||
return d->m_tabSettings.toMap();
|
||||
return {{currentPreferencesKey, currentDelegateId()}};
|
||||
}
|
||||
|
||||
void ICodeStylePreferences::fromMap(const Storage &map)
|
||||
void ICodeStylePreferences::fromMap(const Store &map)
|
||||
{
|
||||
d->m_tabSettings.fromMap(map);
|
||||
const QByteArray delegateId = map.value(currentPreferencesKey).toByteArray();
|
||||
|
||||
Reference in New Issue
Block a user