aboutsummaryrefslogtreecommitdiffstats
path: root/examples/installer_test/hello.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-04-30 17:49:36 +0200
committerCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-05-06 12:41:51 +0200
commitd13e18612244863d109a95ce945036b7af4da70c (patch)
treea8eb416bfd9a587de20e421b0927ce3b73386752 /examples/installer_test/hello.py
parent661f21d976842c23c4a97cc63576680669945970 (diff)
examples: use exec() instead of exec_()
Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 57e681930f6b4c7c311fc70a66317ef64dee4cb1)
Diffstat (limited to 'examples/installer_test/hello.py')
-rw-r--r--examples/installer_test/hello.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py
index fc44277bf..b8e5df914 100644
--- a/examples/installer_test/hello.py
+++ b/examples/installer_test/hello.py
@@ -103,6 +103,6 @@ if __name__ == "__main__":
if auto_quit:
milliseconds = 2 * 1000 # run 2 second
QTimer.singleShot(milliseconds, app.quit)
- retcode = app.exec_()
+ retcode = app.exec()
print("End of hello.py ", time.ctime())
sys.exit(retcode)