From 1b7076e6458063a547d7064a193f1d344025244b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Sat, 21 Aug 2021 23:06:19 +0200 Subject: [PATCH] Changed "app.exec_" by "app.exec" for future pyqt6 --- client-py3/full/src/UDSClient.py | 2 +- client-py3/full/src/UDSClientLauncher.py | 2 +- client-py3/full/src/UDSLauncherMac.py | 2 +- client-py3/full/src/UDSWindow.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client-py3/full/src/UDSClient.py b/client-py3/full/src/UDSClient.py index 9a7f56d2..44f7d206 100755 --- a/client-py3/full/src/UDSClient.py +++ b/client-py3/full/src/UDSClient.py @@ -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: diff --git a/client-py3/full/src/UDSClientLauncher.py b/client-py3/full/src/UDSClientLauncher.py index 42c53c0a..aa823ec1 100644 --- a/client-py3/full/src/UDSClientLauncher.py +++ b/client-py3/full/src/UDSClientLauncher.py @@ -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) diff --git a/client-py3/full/src/UDSLauncherMac.py b/client-py3/full/src/UDSLauncherMac.py index f7bc9037..3a9e6eae 100644 --- a/client-py3/full/src/UDSLauncherMac.py +++ b/client-py3/full/src/UDSLauncherMac.py @@ -72,4 +72,4 @@ if __name__ == "__main__": ui = Ui_MacLauncher() ui.setupUi(MacLauncher) MacLauncher.show() - sys.exit(app.exec_()) + sys.exit(app.exec()) diff --git a/client-py3/full/src/UDSWindow.py b/client-py3/full/src/UDSWindow.py index c6704072..c610384f 100644 --- a/client-py3/full/src/UDSWindow.py +++ b/client-py3/full/src/UDSWindow.py @@ -90,4 +90,4 @@ if __name__ == "__main__": ui = Ui_MainWindow() ui.setupUi(MainWindow) MainWindow.show() - sys.exit(app.exec_()) + sys.exit(app.exec())