diff options
author | Cristian Maureira-Fredes <[email protected]> | 2021-04-30 17:49:36 +0200 |
---|---|---|
committer | Cristian Maureira-Fredes <[email protected]> | 2021-05-05 20:44:49 +0200 |
commit | 57e681930f6b4c7c311fc70a66317ef64dee4cb1 (patch) | |
tree | bb74a1c956c54be258ccb79eb2e13fdb82107301 /examples/declarative/extending/chapter2-methods | |
parent | 36431b071095b8999347df87621bf23ffcc2ac3d (diff) |
examples: use exec() instead of exec_()
Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/declarative/extending/chapter2-methods')
-rw-r--r-- | examples/declarative/extending/chapter2-methods/methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/extending/chapter2-methods/methods.py b/examples/declarative/extending/chapter2-methods/methods.py index c0fd0050a..c9e7be8f3 100644 --- a/examples/declarative/extending/chapter2-methods/methods.py +++ b/examples/declarative/extending/chapter2-methods/methods.py @@ -102,7 +102,7 @@ if __name__ == '__main__': if view.status() == QQuickView.Error: sys.exit(-1) 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 |