Compare commits

..

2 Commits

Author SHA1 Message Date
aa4449f133 Release 0.8.1 2024-10-01 20:12:06 +02:00
6a38e6604e license-dialog: fix PyQt5 syntax error 2024-10-01 20:11:14 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
VERSION=0.8.0 VERSION=0.8.1

View File

@ -69,7 +69,7 @@ licenza.close()
def center(self): def center(self):
screen = QDesktopWidget().screenGeometry() screen = QDesktopWidget().screenGeometry()
size = self.geometry() 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): class Form(QWidget):
def __init__(self, parent=None): def __init__(self, parent=None):