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/scrolling/scrolling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/declarative/scrolling') diff --git a/examples/declarative/scrolling/scrolling.py b/examples/declarative/scrolling/scrolling.py index be909e2d6..c585cc962 100644 --- a/examples/declarative/scrolling/scrolling.py +++ b/examples/declarative/scrolling/scrolling.py @@ -64,7 +64,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