forked from qt-creator/qt-creator
Work around QHash::unite deprecation
Change-Id: Ibf199b5e3f2ca99b7e0cafe20893a509d9eab906 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -319,7 +319,7 @@ static bool handleQtTest(QFutureInterface<TestParseResultPtr> futureInterface,
|
||||
|
||||
QHash<QString, QtTestCodeLocationList> dataTags;
|
||||
for (const QString &file : files)
|
||||
dataTags.unite(checkForDataTags(file, snapshot));
|
||||
Utils::addToHash(&dataTags, checkForDataTags(file, snapshot));
|
||||
|
||||
QtTestParseResult *parseResult = new QtTestParseResult(id);
|
||||
parseResult->itemType = TestTreeItem::TestCase;
|
||||
|
||||
Reference in New Issue
Block a user