summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-09-01 12:38:12 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-09-01 12:38:19 +0200
commite6bd5e68ac899d6a519f92693ea30ea359f1dd2b (patch)
treeeca6f13af7101a289a7ecf6205966766076404a3
parentd284cd99d4143ebe21844347e9a0bc4627494c4c (diff)
parent3ee77bd119476fbb83c21c78f80659a709221c99 (diff)
downloadqt-creator-e6bd5e68ac899d6a519f92693ea30ea359f1dd2b.tar.gz
Merge remote-tracking branch 'origin/3.5'
Change-Id: Ic17fb734d1df5a9ff6b4dba52125739d127ffb88
-rw-r--r--plugins/autotest/testtreemodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autotest/testtreemodel.cpp b/plugins/autotest/testtreemodel.cpp
index e30b7f651c..0e3b09b439 100644
--- a/plugins/autotest/testtreemodel.cpp
+++ b/plugins/autotest/testtreemodel.cpp
@@ -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();
}