diff --git a/plugins/autotest/testtreeview.cpp b/plugins/autotest/testtreeview.cpp index 5675e9266f8..39105b6bdcb 100644 --- a/plugins/autotest/testtreeview.cpp +++ b/plugins/autotest/testtreeview.cpp @@ -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;