diff --git a/src/plugins/autotest/gtest/gtesttreeitem.cpp b/src/plugins/autotest/gtest/gtesttreeitem.cpp index 8330f79eb5d..4137035a1a8 100644 --- a/src/plugins/autotest/gtest/gtesttreeitem.cpp +++ b/src/plugins/autotest/gtest/gtesttreeitem.cpp @@ -176,13 +176,11 @@ QList GTestTreeItem::getAllTestConfigurations() const const int grandChildCount = child->childCount(); for (int grandChildRow = 0; grandChildRow < grandChildCount; ++grandChildRow) { const TestTreeItem *grandChild = child->childItem(grandChildRow); - if (grandChild->checked() == Qt::Checked) { - ProFileWithDisplayName key(grandChild->proFile(), - TestUtils::getCMakeDisplayNameIfNecessary(grandChild->filePath(), - grandChild->proFile())); + ProFileWithDisplayName key(grandChild->proFile(), + TestUtils::getCMakeDisplayNameIfNecessary(grandChild->filePath(), + grandChild->proFile())); - proFilesWithTestSets.insert(key, proFilesWithTestSets[key] + 1); - } + proFilesWithTestSets.insert(key, proFilesWithTestSets[key] + 1); } }