forked from qt-creator/qt-creator
Use Utils::Storage instead of QVariantMap in a few places
Change-Id: I02833cf2bc3caaadc22ff93ae530e4aebe4c3868 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -144,13 +144,13 @@ public:
|
||||
parent.addItems({Tr::tr("Web browser:"), m_webBrowserComboBox});
|
||||
}
|
||||
|
||||
void fromMap(const QVariantMap &map) override
|
||||
void fromMap(const Storage &map) override
|
||||
{
|
||||
if (!m_availableBrowsers.isEmpty())
|
||||
m_currentBrowser = map.value(BROWSER_KEY, m_availableBrowsers.first().first).toString();
|
||||
}
|
||||
|
||||
void toMap(QVariantMap &map) const override
|
||||
void toMap(Storage &map) const override
|
||||
{
|
||||
map.insert(BROWSER_KEY, m_currentBrowser);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user