FeatureProvider: Remove Feature and FeatureSet

Use Core::Id for Feature and QSet<Core::Id> for FeatureSet.

Change-Id: I12341036bd9eaa82589d92bd3f7d21f2e6b737bd
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-11-27 11:31:35 +01:00
parent 19ee414446
commit 4b0a8648e4
44 changed files with 141 additions and 340 deletions

View File

@@ -266,7 +266,9 @@ QSet<Id> Id::fromStringList(const QStringList &list)
QStringList Id::toStringList(const QSet<Id> &ids)
{
return Utils::transform(ids.toList(), [](Id i) { return i.toString(); });
QList<Id> idList = ids.toList();
Utils::sort(idList);
return Utils::transform(idList, [](Id i) { return i.toString(); });
}
/*!