diff options
author | Katja Marttila <katja.marttila@qt.io> | 2019-01-08 14:00:12 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2019-01-09 05:42:32 +0000 |
commit | bf87c91dfe16881c366775549364862372dde8f7 (patch) | |
tree | 8b8b1104e6fa195925b3854a1911f5a12239f8ee /src/libs/installer/componentmodel.cpp | |
parent | 9dacee18f9b7211699164bc70dd17f9934a15f50 (diff) |
Fix ability to select node which children are unstable
Task-number: QTIFW-1260
Change-Id: If806f62382eb430c858cb483e3bd25562df7b21a
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/componentmodel.cpp')
-rw-r--r-- | src/libs/installer/componentmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/componentmodel.cpp b/src/libs/installer/componentmodel.cpp index 186b37e41..69c709060 100644 --- a/src/libs/installer/componentmodel.cpp +++ b/src/libs/installer/componentmodel.cpp @@ -585,7 +585,7 @@ QSet<QModelIndex> ComponentModel::updateCheckedState(const ComponentSet &compone checkable = false; } - if ((!node->isCheckable() && checkable) || !node->isEnabled() || !node->autoDependencies().isEmpty()) + if ((!node->isCheckable() && checkable) || !node->isEnabled() || !node->autoDependencies().isEmpty() || node->isUnstable()) continue; Qt::CheckState newState = state; |