Skip to content
Snippets Groups Projects
Unverified Commit 8c69da13 authored by Micah Lee's avatar Micah Lee
Browse files

Pass integers into gui.move()

parent 006f498b
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment