From c61fdf99ceefde33f87319fc216975bb04e31e5d Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 17 Jun 2016 08:58:35 +0200 Subject: [PATCH] AutoTest: Fix run selected for gtests Change-Id: Ia6f7a4b9b5c1bb359e75d11255246e971fd1f9d2 Reviewed-by: David Schulz --- src/plugins/autotest/gtest/gtesttreeitem.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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); } }