Changed "app.exec_" by "app.exec" for future pyqt6

This commit is contained in:
Adolfo Gómez García 2021-08-21 23:06:19 +02:00
parent e637f208bd
commit 1b7076e645
4 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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)

View File

@ -72,4 +72,4 @@ if __name__ == "__main__":
ui = Ui_MacLauncher()
ui.setupUi(MacLauncher)
MacLauncher.show()
sys.exit(app.exec_())
sys.exit(app.exec())

View File

@ -90,4 +90,4 @@ if __name__ == "__main__":
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())
sys.exit(app.exec())