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:
@@ -206,7 +206,7 @@ FilePath IosRunConfiguration::localExecutable() const
|
||||
return bundleDirectory().pathAppended(applicationName());
|
||||
}
|
||||
|
||||
void IosDeviceTypeAspect::fromMap(const QVariantMap &map)
|
||||
void IosDeviceTypeAspect::fromMap(const Storage &map)
|
||||
{
|
||||
bool deviceTypeIsInt;
|
||||
map.value(deviceTypeKey).toInt(&deviceTypeIsInt);
|
||||
@@ -216,7 +216,7 @@ void IosDeviceTypeAspect::fromMap(const QVariantMap &map)
|
||||
m_runConfiguration->update();
|
||||
}
|
||||
|
||||
void IosDeviceTypeAspect::toMap(QVariantMap &map) const
|
||||
void IosDeviceTypeAspect::toMap(Storage &map) const
|
||||
{
|
||||
map.insert(deviceTypeKey, deviceType().toMap());
|
||||
}
|
||||
|
Reference in New Issue
Block a user