diff options
author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-10-28 12:24:48 +0100 |
---|---|---|
committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-10-28 23:36:18 +0100 |
commit | ba04613a65be7b50bbcc9dae8c18d195243513c3 (patch) | |
tree | 046d42d45e7b8433fe8c5e0432b86041fd77c23f /sources/cmake_helpers | |
parent | 4f0bf044feeba04a9f552b3bf9a510ff8d0c8a9c (diff) |
Fix booleans and empty list cases in QSettings
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>
Diffstat (limited to 'sources/cmake_helpers')
0 files changed, 0 insertions, 0 deletions