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:
@@ -17,7 +17,7 @@ QString CommandBuilder::displayName() const
|
||||
return Tr::tr("Custom Command");
|
||||
}
|
||||
|
||||
void CommandBuilder::fromMap(const QVariantMap &map)
|
||||
void CommandBuilder::fromMap(const Storage &map)
|
||||
{
|
||||
m_command = FilePath::fromSettings(map.value(QString(CUSTOMCOMMANDBUILDER_COMMAND).arg(id())));
|
||||
m_args = map.value(QString(CUSTOMCOMMANDBUILDER_ARGS).arg(id())).toString();
|
||||
|
||||
Reference in New Issue
Block a user