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:
@@ -70,12 +70,12 @@ void QmlMainFileAspect::addToLayout(Layouting::LayoutItem &parent)
|
||||
parent.addItems({Tr::tr("Main QML file:"), m_fileListCombo.data()});
|
||||
}
|
||||
|
||||
void QmlMainFileAspect::toMap(Storage &map) const
|
||||
void QmlMainFileAspect::toMap(Store &map) const
|
||||
{
|
||||
map.insert(Constants::QML_MAINSCRIPT_KEY, m_scriptFile);
|
||||
}
|
||||
|
||||
void QmlMainFileAspect::fromMap(const Storage &map)
|
||||
void QmlMainFileAspect::fromMap(const Store &map)
|
||||
{
|
||||
m_scriptFile = map.value(Constants::QML_MAINSCRIPT_KEY, M_CURRENT_FILE).toString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user