forked from qt-creator/qt-creator
ProjectExplorer: Little cleanup by using Id::withPrefix
Change-Id: I7e42685789e29d795fda23453ca0b047f5b77245 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -550,7 +550,7 @@ QSet<Core::Id> DeviceTypeKitInformation::availableFeatures(const Kit *k) const
|
||||
{
|
||||
Core::Id id = DeviceTypeKitInformation::deviceTypeId(k);
|
||||
if (id.isValid())
|
||||
return { Core::Id::fromString(QString::fromLatin1("DeviceType.") + id.toString()) };
|
||||
return { id.withPrefix("DeviceType.") };
|
||||
return QSet<Core::Id>();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user