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

QSettings.value docs need explanation of when None returned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.1.1
    • Fix Version/s: None
    • Component/s: Documentation, PySide
    • Labels:
      None
    • Platform/s:
      All

      Description

      The documentation for QSettings.value looks to be just autogenerated right now.

      It is missing an explanation of what is returned when a setting cannot be found, and no defaultValue is provided in the parameters.

      In this case, None is returned (which makes sense), but that is not explained in the documentation.

       

      https://doc.qt.io/qtforpython/PySide6/QtCore/QSettings.html#PySide6.QtCore.PySide6.QtCore.QSettings.value

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              kkyzivat Keith Kyzivat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes