Commit a88d3df3 authored by Christian Stenger's avatar Christian Stenger
Browse files

Enable (De)Select All for gtests as well



Change-Id: Ie9c4c12b57f37ff31aaccf344bd12ea737a14386
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent ebfc118c
...@@ -70,8 +70,8 @@ void TestTreeView::changeCheckStateAll(const Qt::CheckState checkState) ...@@ -70,8 +70,8 @@ void TestTreeView::changeCheckStateAll(const Qt::CheckState checkState)
{ {
const TestTreeModel *model = TestTreeModel::instance(); const TestTreeModel *model = TestTreeModel::instance();
// 2 == Auto Tests and Quick Tests - must be raised if there will be others // 3 == Auto Tests, Quick Tests and Google Tests - must be raised if there will be others
for (int rootRow = 0; rootRow < 2; ++rootRow) { for (int rootRow = 0; rootRow < 3; ++rootRow) {
QModelIndex currentRootIndex = model->index(rootRow, 0, rootIndex()); QModelIndex currentRootIndex = model->index(rootRow, 0, rootIndex());
if (!currentRootIndex.isValid()) if (!currentRootIndex.isValid())
return; return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment