qt5base-lts/tests/auto/widgets/styles
Volker Hilsheimer c4f1b0f7c4 Repolish child widgets when parent style sheet changes
If a child widget that is affected by the parent's style sheet is
polished (because it's been shown explicitly, for instance by a layout),
then it must be repolished when the parent's style sheet changes, even
if the parent itself has not been polished yet.

Since the style sheet is set on the parent widget, we must repolish the
parent (which will repolish the entire widget tree), not just the
individual children and grand children.

Fixes: QTBUG-76945
Task-number: QTBUG-39427
Task-number: QTBUG-18958
Change-Id: I7bca9ee1badc07202fa05dc97f440f4ca6c9517d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2021-07-05 17:36:04 +02:00
..
qmacstyle Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstyle Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstyleoption Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstylesheetstyle Repolish child widgets when parent style sheet changes 2021-07-05 17:36:04 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00