license-dialog: fix PyQt5 syntax error
This commit is contained in:
parent
a94c8b885b
commit
6a38e6604e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user