summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-04-19 11:09:02 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-04-19 12:40:50 +0300
commit761c4477a1031c42062e71fca7def0d3ab925bd8 (patch)
tree49bd5e87f44d4bfe8d06b65c64e32e20b1470482 /src/libs
parent6ae894c26fa09806b48d1e8fa79231b0a63fcdf2 (diff)
Fix updating visibility of the QToolBox widget on ComponentSelectionPage
Using a stylesheet with transparent background property for most widgets revealed the page's QToolBox widget and its children were not hidden properly when category layout was hidden. Change-Id: Ic710b348c50edef823d27eccd6092d531da24bf9 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/installer/componentselectionpage_p.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/componentselectionpage_p.cpp b/src/libs/installer/componentselectionpage_p.cpp
index 174b35038..974ae1502 100644
--- a/src/libs/installer/componentselectionpage_p.cpp
+++ b/src/libs/installer/componentselectionpage_p.cpp
@@ -280,6 +280,7 @@ void ComponentSelectionPagePrivate::showCategoryLayout(bool show)
m_mainGLayout->removeWidget(m_toolBox);
m_mainGLayout->addWidget(m_descriptionBaseWidget, 1, 1);
}
+ m_toolBox->setVisible(show);
m_categoryLayoutVisible = show;
}