Fix crash with presumable newest PySide6

This commit is contained in:
Sandro Jäckel 2024-05-07 23:15:49 +02:00
parent 197fca4696
commit f20db8fcbd
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -314,6 +314,6 @@ class MainWindow(QtWidgets.QMainWindow):
# Wait 1 second for threads to close gracefully, so tests finally pass
time.sleep(1)
def resizeEvent(self, event):
def resizeEvent(self, event: QtGui.QResizeEvent):
self.window_resized.emit()
return super(MainWindow, self).resizeEvent(event)