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:
@@ -144,13 +144,13 @@ public:
|
||||
parent.addItems({Tr::tr("Web browser:"), m_webBrowserComboBox});
|
||||
}
|
||||
|
||||
void fromMap(const Storage &map) override
|
||||
void fromMap(const Store &map) override
|
||||
{
|
||||
if (!m_availableBrowsers.isEmpty())
|
||||
m_currentBrowser = map.value(BROWSER_KEY, m_availableBrowsers.first().first).toString();
|
||||
}
|
||||
|
||||
void toMap(Storage &map) const override
|
||||
void toMap(Store &map) const override
|
||||
{
|
||||
map.insert(BROWSER_KEY, m_currentBrowser);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user