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:
@@ -691,7 +691,7 @@ FilePaths Project::files(const NodeMatcher &filter) const
|
||||
creating new build configurations.
|
||||
*/
|
||||
|
||||
void Project::toMap(QVariantMap &map) const
|
||||
void Project::toMap(Storage &map) const
|
||||
{
|
||||
const QList<Target *> ts = targets();
|
||||
|
||||
@@ -764,7 +764,7 @@ ContainerNode *Project::containerNode() const
|
||||
return d->m_containerNode.get();
|
||||
}
|
||||
|
||||
Project::RestoreResult Project::fromMap(const QVariantMap &map, QString *errorMessage)
|
||||
Project::RestoreResult Project::fromMap(const Storage &map, QString *errorMessage)
|
||||
{
|
||||
Q_UNUSED(errorMessage)
|
||||
if (map.contains(QLatin1String(EDITOR_SETTINGS_KEY))) {
|
||||
|
||||
Reference in New Issue
Block a user