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:
@@ -320,13 +320,13 @@ public:
|
||||
return static_cast<const TTC *>(&other)->token == token;
|
||||
}
|
||||
|
||||
void fromMap(const QVariantMap &data) final
|
||||
void fromMap(const Storage &data) final
|
||||
{
|
||||
ToolChain::fromMap(data);
|
||||
token = data.value(TestTokenKey).toByteArray();
|
||||
}
|
||||
|
||||
void toMap(QVariantMap &data) const final
|
||||
void toMap(Storage &data) const final
|
||||
{
|
||||
ToolChain::toMap(data);
|
||||
data[TestTokenKey] = token;
|
||||
|
||||
Reference in New Issue
Block a user