From a88d3df334f5711c75da89b7ca2baaf7e4f3775f Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 9 Dec 2015 13:32:26 +0100 Subject: [PATCH] Enable (De)Select All for gtests as well Change-Id: Ie9c4c12b57f37ff31aaccf344bd12ea737a14386 Reviewed-by: Niels Weber --- plugins/autotest/testtreeview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;