diff --git a/src/plugins/autotest/quick/quicktesttreeitem.cpp b/src/plugins/autotest/quick/quicktesttreeitem.cpp index 3ff2d4d4764..12b85008255 100644 --- a/src/plugins/autotest/quick/quicktesttreeitem.cpp +++ b/src/plugins/autotest/quick/quicktesttreeitem.cpp @@ -237,7 +237,7 @@ QList QuickTestTreeItem::getSelectedTestConfigurations() co int grandChildCount = child->childCount(); for (int grandChildRow = 0; grandChildRow < grandChildCount; ++grandChildRow) { const TestTreeItem *grandChild = child->childItem(grandChildRow); - if (grandChild->type() != TestFunctionOrSet) + if (grandChild->checked() != Qt::Checked || grandChild->type() != TestFunctionOrSet) continue; testFunctions << child->name() + QLatin1String("::") + grandChild->name(); }