-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.9.2
-
None
-
-
972ddda50 (tqtc/lts-6.8), b9d96d0da (6.10), c101b6893 (dev)
QWindow.setParent can take None to set the QWindow as a top level window.
This is missing from the type hints.
Current (incorrect) type hint
def setParent(self, parent: PySide6.QtGui.QWindow, /) -> None: ...
Correct type hint
def setParent(self, parent: PySide6.QtGui.QWindow | None, /) -> None: ...