Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.8.2
-
None
-
2f55adcea (dev), be6437d6b (6.9)
Description
The _init_ methods of QAction constrain the type of the icon parameter to only QIcon. However, the setIcon method accepts QIcon and QPixmap.
The type of icon should be `QIcon | QPixmap`.
Attachments
For Gerrit Dashboard: PYSIDE-3029 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
640642,2 | type-hints: Fix properties on __init__ functions | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
641310,2 | type-hints: Fix properties on __init__ functions | 6.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |