From f20db8fcbd18e51b58814ae8f98f3a7502b4f456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 7 May 2024 23:15:49 +0200 Subject: [PATCH] Fix crash with presumable newest PySide6 --- desktop/onionshare/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/onionshare/main_window.py b/desktop/onionshare/main_window.py index 8ebde01e..986f8720 100644 --- a/desktop/onionshare/main_window.py +++ b/desktop/onionshare/main_window.py @@ -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)