aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWebEngineWidgets
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2019-10-28 12:24:48 +0100
committerCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2020-06-12 16:41:08 +0200
commit0395817102e9b8601c93e60349360fcdd8a3c66d (patch)
treec400630b43b464ca85310f692813966088dcb5e0 /sources/pyside2/tests/QtWebEngineWidgets
parentbdb3a0de4934fe05fee8539b29cfb07a5693471e (diff)
Fix booleans and empty list cases in QSettings5.12
After the fix for PYSIDE-1010 there were two things that were not properly understood: 1. A special case for booleans was required, 2. When a list was detected, the split was wrongly creating a list with a '0' instead of an empty one. Additonally, due to the wrong treatment we couldn't notice if the value 0 was None, the number zero, or even false, so this patch amends the previous implementation to properly treat these cases. New test cases were added. Change-Id: I41d5387bb835cfa96f94e5577e993a4b87b303f0 Fixes: PYSIDE-1130 Fixes: PYSIDE-820 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit ba04613a65be7b50bbcc9dae8c18d195243513c3) Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/QtWebEngineWidgets')
0 files changed, 0 insertions, 0 deletions