Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1130

PySide2.QtCore.QSettings.value returns None when value is 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.13.2
    • 5.12.5, 5.13.1
    • PySide
    • None
    • Windows
    • ba04613a65be7b50bbcc9dae8c18d195243513c3 (pyside/pyside-setup/5.13) 0395817102e9b8601c93e60349360fcdd8a3c66d (pyside/pyside-setup/5.12)

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            ecejeff Jeffrey Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes