aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/chapter3-bindings/bindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/chapter3-bindings/bindings.py')
-rw-r--r--examples/declarative/extending/chapter3-bindings/bindings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/extending/chapter3-bindings/bindings.py b/examples/declarative/extending/chapter3-bindings/bindings.py
index 3bb70dbab..cacac78da 100644
--- a/examples/declarative/extending/chapter3-bindings/bindings.py
+++ b/examples/declarative/extending/chapter3-bindings/bindings.py
@@ -106,7 +106,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