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/usingmodel/usingmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/declarative/usingmodel') diff --git a/examples/declarative/usingmodel/usingmodel.py b/examples/declarative/usingmodel/usingmodel.py index 4dcb8279e..bd1fa2eba 100644 --- a/examples/declarative/usingmodel/usingmodel.py +++ b/examples/declarative/usingmodel/usingmodel.py @@ -95,7 +95,7 @@ if __name__ == '__main__': sys.exit(-1) view.show() - app.exec_() + 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