From 57e681930f6b4c7c311fc70a66317ef64dee4cb1 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Fri, 30 Apr 2021 17:49:36 +0200 Subject: examples: use exec() instead of exec_() Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203 Reviewed-by: Friedemann Kleint --- examples/declarative/signals/pytoqml2/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/declarative/signals/pytoqml2') diff --git a/examples/declarative/signals/pytoqml2/main.py b/examples/declarative/signals/pytoqml2/main.py index 97d4d96f8..30ec5a4f6 100644 --- a/examples/declarative/signals/pytoqml2/main.py +++ b/examples/declarative/signals/pytoqml2/main.py @@ -78,7 +78,7 @@ if __name__ == '__main__': timer.timeout.connect(rotatevalue.increment) view.show() - res = app.exec_() + res = app.exec() # Deleting the view before it goes out of scope is required to make # sure all child QML instances are destroyed in the correct order. del view -- cgit v1.2.3