forked from qt-creator/qt-creator
Enable (De)Select All for gtests as well
Change-Id: Ie9c4c12b57f37ff31aaccf344bd12ea737a14386 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -70,8 +70,8 @@ void TestTreeView::changeCheckStateAll(const Qt::CheckState checkState)
|
||||
{
|
||||
const TestTreeModel *model = TestTreeModel::instance();
|
||||
|
||||
// 2 == Auto Tests and Quick Tests - must be raised if there will be others
|
||||
for (int rootRow = 0; rootRow < 2; ++rootRow) {
|
||||
// 3 == Auto Tests, Quick Tests and Google Tests - must be raised if there will be others
|
||||
for (int rootRow = 0; rootRow < 3; ++rootRow) {
|
||||
QModelIndex currentRootIndex = model->index(rootRow, 0, rootIndex());
|
||||
if (!currentRootIndex.isValid())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user