qt5base-lts/tests/auto/widgets/styles
Zhang Yu e9cdcc7cb3 Fix recursion crash when calling setStyleSheet with qproperty-styleSheet
When calling `setStyleSheet` with property `qproperty-styleSheet`,
`QStyleSheetStyle::polish` will call`QStyleSheetStyle::setProperties`, and then`QStyleSheetStyle::setProperties` goes on to call `setProperty`.Because there is property `qproperty-styleSheet`, it will update stylesheet by calling QStyleSheetStyle::polish`.
This causes the recursive call to crash.

Fixes: QTBUG-94448
Pick-to: 5.15 6.2
Change-Id: I79c51192a939b0b62e5b1d0dcc90d38f79e28222
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2021-06-18 05:34:52 +00: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 Fix recursion crash when calling setStyleSheet with qproperty-styleSheet 2021-06-18 05:34:52 +00:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00