void-packages/srcpkgs/torbrowser-launcher/patches/python310.patch

13 lines
425 B
Diff

--- a/torbrowser_launcher/__init__.py
+++ b/torbrowser_launcher/__init__.py
@@ -90,8 +90,8 @@ def main():
desktop = app.desktop()
window_size = gui.size()
gui.move(
- (desktop.width() - window_size.width()) / 2,
- (desktop.height() - window_size.height()) / 2,
+ (desktop.width() - window_size.width()) // 2,
+ (desktop.height() - window_size.height()) // 2,
)
gui.show()