AutoTest: Fix marking for removal by file

Was forgotten in ed6f4133e8.

Change-Id: I2cdf06b6872e1ae80a7039d0d15593af37b1c5fa
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2016-04-25 08:53:17 +02:00
parent fdad4bf7b0
commit 8f33979403

View File

@@ -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);
}
}
}