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

QProgressDialog.setCancelButton() Is documented to accept 0, but does not.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4: Low P4: Low
    • 5.12.1
    • 5.12.0
    • PySide
    • None
    • All
    • b0c04069b18f58696c6a87e02c8854628eb9988d , 825b5272e (dev)

      TypeError: 'PySide2.QtWidgets.QProgressDialog.setCancelButton' called with wrong argument types:
      PySide2.QtWidgets.QProgressDialog.setCancelButton(int)
      Supported signatures:
      PySide2.QtWidgets.QProgressDialog.setCancelButton(PySide2.QtWidgets.QPushButton)

       

      Workaround:

      Using None as Argument appears to give the expected result.

       

      Either Update the Documentation to say None instead of 0, or allow 0.

       

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

            crmaurei Cristian Maureira-Fredes
            berserker berserker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes