forked from shaba/openuds
Changed "app.exec_" by "app.exec" for future pyqt6
This commit is contained in:
parent
e637f208bd
commit
1b7076e645
@ -389,7 +389,7 @@ def main(args: typing.List[str]):
|
||||
|
||||
win.start()
|
||||
|
||||
exitVal = app.exec_()
|
||||
exitVal = app.exec()
|
||||
logger.debug('Execution finished correctly')
|
||||
|
||||
except Exception as e:
|
||||
|
@ -68,7 +68,7 @@ def main(args: typing.List[str]):
|
||||
|
||||
window.showMinimized()
|
||||
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(args=sys.argv)
|
||||
|
@ -72,4 +72,4 @@ if __name__ == "__main__":
|
||||
ui = Ui_MacLauncher()
|
||||
ui.setupUi(MacLauncher)
|
||||
MacLauncher.show()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
@ -90,4 +90,4 @@ if __name__ == "__main__":
|
||||
ui = Ui_MainWindow()
|
||||
ui.setupUi(MainWindow)
|
||||
MainWindow.show()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
Loading…
Reference in New Issue
Block a user