Skip to content

Commit

Permalink
Fix crash with presumable newest PySide6
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed May 7, 2024
1 parent 197fca4 commit f20db8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/onionshare/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,6 @@ def cleanup(self):
# 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)

0 comments on commit f20db8f

Please sign in to comment.