Merge remote-tracking branch 'origin/5.0'

Change-Id: I0ef7cd302ba7cba64fec401f3426dd682b8dc036
This commit is contained in:
Eike Ziller
2021-09-15 11:18:11 +02:00
20 changed files with 46 additions and 190 deletions

View File

@@ -407,7 +407,7 @@ void TestTreeModel::synchronizeTestTools()
if (project) {
const QList<Target *> &allTargets = project->targets();
auto target = allTargets.empty() ? nullptr : allTargets.first();
if (QTC_GUARD(target)) {
if (target) {
auto bs = target->buildSystem();
for (ITestTool *testTool : newlyAdded) {
ITestTreeItem *rootNode = testTool->rootNode();