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:
@@ -13,6 +13,7 @@
|
||||
#include <QMapIterator>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace Ios::Internal {
|
||||
|
||||
@@ -72,7 +73,7 @@ IosDeviceType::IosDeviceType(IosDeviceType::Type type, const QString &identifier
|
||||
type(type), identifier(identifier), displayName(displayName)
|
||||
{ }
|
||||
|
||||
bool IosDeviceType::fromMap(const QVariantMap &map)
|
||||
bool IosDeviceType::fromMap(const Storage &map)
|
||||
{
|
||||
bool validType;
|
||||
displayName = map.value(iosDeviceTypeDisplayNameKey, QVariant()).toString();
|
||||
|
||||
Reference in New Issue
Block a user