Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Done
-
Affects Version/s: 5.12.5, 5.13.1
-
Fix Version/s: 5.13.2
-
Component/s: PySide
-
Labels:None
-
Platform/s:
-
Commits:ba04613a65be7b50bbcc9dae8c18d195243513c3 (pyside/pyside-setup/5.13) 0395817102e9b8601c93e60349360fcdd8a3c66d (pyside/pyside-setup/5.12)
Description
Calling settings.value("foo") will return None if the value has previously been set to 0. This is proving difficult for me to work around while respecting application default values.
I am using Windows and QtCore.QSettings.setDefaultFormat(QtCore.QSettings.IniFormat) if that matters.
This happens on versions 5.12.5 and 5.13.1, but does not happen on 5.12.3 or 5.12.4. I'm guessing this is related to the fix for PYSIDE-1010
Attachments
Issue Links
- relates to
-
PYSIDE-820 the type of the value returned QSettings.value() may not be what is expected.
-
- Closed
-