diff --git a/src/plugins/autotest/testtreemodel.cpp b/src/plugins/autotest/testtreemodel.cpp index 4701e126a66..9b5d59258ff 100644 --- a/src/plugins/autotest/testtreemodel.cpp +++ b/src/plugins/autotest/testtreemodel.cpp @@ -638,7 +638,7 @@ void TestTreeModel::markForRemoval(const QString &filePath) for ( ; grandChildRow >= 0; --grandChildRow) { TestTreeItem *grandChild = child->childItem(grandChildRow); if (grandChild->filePath() == filePath) { - grandChild->markForRemoval(true); + grandChild->markForRemovalRecursively(true); } } }