Skip to content

Commit 0ec34cd

Browse files
authored
Merge pull request #59 from altendky/patch-5
QGuiApplication.lastWindowClosed is a signal not a method
2 parents 39c78c6 + f36a4ed commit 0ec34cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
99
### Added
1010

1111
### Changed
12+
* [#59](https://github.com/stlehmann/PyQt5-stubs/pull/59) fixes QGuiApplication.lastWindowClosed to be a signal
1213
* [#58](https://github.com/stlehmann/PyQt5-stubs/pull/50) improves QObject.findChild and findChildren
1314
* [#50](https://github.com/stlehmann/PyQt5-stubs/pull/50) fixes QTest QAbstractItemModelTester.FailureReportingMode attributes
1415
* [#46](https://github.com/stlehmann/PyQt5-stubs/pull/46) fixes QCoreApplication and QObject signals

PyQt5-stubs/QtGui.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -2333,7 +2333,7 @@ class QGuiApplication(QtCore.QCoreApplication):
23332333
def saveStateRequest(self, sessionManager: 'QSessionManager') -> None: ...
23342334
def commitDataRequest(self, sessionManager: 'QSessionManager') -> None: ...
23352335
def focusObjectChanged(self, focusObject: QtCore.QObject) -> None: ...
2336-
def lastWindowClosed(self) -> None: ...
2336+
lastWindowClosed: typing.ClassVar[QtCore.pyqtSignal]
23372337
def screenAdded(self, screen: 'QScreen') -> None: ...
23382338
def fontDatabaseChanged(self) -> None: ...
23392339
def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...

0 commit comments

Comments
 (0)