forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.5'
Change-Id: Ic17fb734d1df5a9ff6b4dba52125739d127ffb88
This commit is contained in:
@@ -481,6 +481,8 @@ QList<TestConfiguration *> TestTreeModel::getSelectedTests() const
|
||||
int grandChildCount = child->childCount();
|
||||
for (int grandChildRow = 0; grandChildRow < grandChildCount; ++grandChildRow) {
|
||||
const TestTreeItem *grandChild = child->child(grandChildRow);
|
||||
if (grandChild->type() != TestTreeItem::TEST_FUNCTION)
|
||||
continue;
|
||||
if (grandChild->checked() == Qt::Checked)
|
||||
testFunctions << child->name() + QLatin1String("::") + grandChild->name();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user