From 6a38e6604e876a24e14c418ac00a270d79fb3080 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 1 Oct 2024 20:11:14 +0200 Subject: [PATCH] license-dialog: fix PyQt5 syntax error --- license-dialog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/license-dialog b/license-dialog index 12f4b2a..b01e2ef 100755 --- a/license-dialog +++ b/license-dialog @@ -69,7 +69,7 @@ licenza.close() def center(self): screen = QDesktopWidget().screenGeometry() size = self.geometry() - self.move((screen.width()-size.width())/2, (screen.height()-size.height())/2) + self.move(int((screen.width()-size.width())/2), int((screen.height()-size.height())/2)) class Form(QWidget): def __init__(self, parent=None):