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:
@@ -35,13 +35,13 @@ bool DisplayName::usesDefaultValue() const
|
||||
return m_value.isEmpty();
|
||||
}
|
||||
|
||||
void DisplayName::toMap(Storage &map, const QString &key) const
|
||||
void DisplayName::toMap(Store &map, const QString &key) const
|
||||
{
|
||||
if (m_forceSerialization || !usesDefaultValue())
|
||||
map.insert(key, m_value);
|
||||
}
|
||||
|
||||
void DisplayName::fromMap(const Storage &map, const QString &key)
|
||||
void DisplayName::fromMap(const Store &map, const QString &key)
|
||||
{
|
||||
m_value = map.value(key).toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user