summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/testtreemodel.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2016-04-25 08:53:17 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2016-04-25 09:16:17 +0000
commit8f33979403a4ca22b41982194103fe90290f54ad (patch)
tree50d7aacaf1b0a690adf594d3773d6ed0011f25f6 /src/plugins/autotest/testtreemodel.cpp
parentfdad4bf7b044e833a6cff1f1539b17a5565cc363 (diff)
downloadqt-creator-8f33979403a4ca22b41982194103fe90290f54ad.tar.gz
AutoTest: Fix marking for removal by file
Was forgotten in ed6f4133e8b8cae72aaae8ad29af425d5e910cff. Change-Id: I2cdf06b6872e1ae80a7039d0d15593af37b1c5fa Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/autotest/testtreemodel.cpp')
-rw-r--r--src/plugins/autotest/testtreemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testtreemodel.cpp b/src/plugins/autotest/testtreemodel.cpp
index 4701e126a6..9b5d59258f 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);
}
}
}