diff options
Diffstat (limited to 'examples/declarative/signals')
-rw-r--r-- | examples/declarative/signals/pytoqml1/main.py | 2 | ||||
-rw-r--r-- | examples/declarative/signals/pytoqml2/main.py | 2 | ||||
-rw-r--r-- | examples/declarative/signals/qmltopy1/main.py | 2 | ||||
-rw-r--r-- | examples/declarative/signals/qmltopy2/main.py | 2 | ||||
-rw-r--r-- | examples/declarative/signals/qmltopy3/main.py | 2 | ||||
-rw-r--r-- | examples/declarative/signals/qmltopy4/main.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/signals/pytoqml1/main.py b/examples/declarative/signals/pytoqml1/main.py index fa31c50bb..3dc18adaf 100644 --- a/examples/declarative/signals/pytoqml1/main.py +++ b/examples/declarative/signals/pytoqml1/main.py @@ -62,7 +62,7 @@ if __name__ == '__main__': timer.timeout.connect(root.updateRotater) 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 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 diff --git a/examples/declarative/signals/qmltopy1/main.py b/examples/declarative/signals/qmltopy1/main.py index 3c0ebbeaa..d323d9a0f 100644 --- a/examples/declarative/signals/qmltopy1/main.py +++ b/examples/declarative/signals/qmltopy1/main.py @@ -80,7 +80,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 diff --git a/examples/declarative/signals/qmltopy2/main.py b/examples/declarative/signals/qmltopy2/main.py index d5cb260a0..1bf22b2af 100644 --- a/examples/declarative/signals/qmltopy2/main.py +++ b/examples/declarative/signals/qmltopy2/main.py @@ -73,7 +73,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 diff --git a/examples/declarative/signals/qmltopy3/main.py b/examples/declarative/signals/qmltopy3/main.py index e1a4672a8..0f6523125 100644 --- a/examples/declarative/signals/qmltopy3/main.py +++ b/examples/declarative/signals/qmltopy3/main.py @@ -64,7 +64,7 @@ if __name__ == '__main__': root.buttonClicked.connect(lambda: sayThis("clicked button (QML top-level signal)")) 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 diff --git a/examples/declarative/signals/qmltopy4/main.py b/examples/declarative/signals/qmltopy4/main.py index 4e58350fb..96183c02d 100644 --- a/examples/declarative/signals/qmltopy4/main.py +++ b/examples/declarative/signals/qmltopy4/main.py @@ -64,7 +64,7 @@ if __name__ == '__main__': button.clicked.connect(lambda: sayThis("clicked button (signal directly connected)")) 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 |