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.
| For Gerrit Dashboard: PYSIDE-903 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 249535,4 | Add doc to QProgressDialog.setCancelButton | 5.12 | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
| 249583,4 | Documentation: Add \nullptr macro and use where applicable | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
| 249607,2 | Documentation: Add \nullptr macro definition | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
| 249610,4 | Documentation: Start using the \nullptr macro | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 249625,2 | Documentation: Replace nullptr by None in signatures | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
| 462810,2 | Port some of the last instances of "0" -> "\nullptr" | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |