forked from qt-creator/qt-creator
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:
@@ -638,7 +638,7 @@ void TestTreeModel::markForRemoval(const QString &filePath)
|
|||||||
for ( ; grandChildRow >= 0; --grandChildRow) {
|
for ( ; grandChildRow >= 0; --grandChildRow) {
|
||||||
TestTreeItem *grandChild = child->childItem(grandChildRow);
|
TestTreeItem *grandChild = child->childItem(grandChildRow);
|
||||||
if (grandChild->filePath() == filePath) {
|
if (grandChild->filePath() == filePath) {
|
||||||
grandChild->markForRemoval(true);
|
grandChild->markForRemovalRecursively(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user