aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-04-30 17:49:36 +0200
committerCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-05-05 20:44:49 +0200
commit57e681930f6b4c7c311fc70a66317ef64dee4cb1 (patch)
treebb74a1c956c54be258ccb79eb2e13fdb82107301 /examples/widgets/animation
parent36431b071095b8999347df87621bf23ffcc2ac3d (diff)
examples: use exec() instead of exec_()
Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/animation')
-rw-r--r--examples/widgets/animation/animatedtiles/animatedtiles.py2
-rw-r--r--examples/widgets/animation/appchooser/appchooser.py2
-rw-r--r--examples/widgets/animation/easing/easing.py2
-rw-r--r--examples/widgets/animation/states/states.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/widgets/animation/animatedtiles/animatedtiles.py b/examples/widgets/animation/animatedtiles/animatedtiles.py
index 5b93730fd..01828c9ec 100644
--- a/examples/widgets/animation/animatedtiles/animatedtiles.py
+++ b/examples/widgets/animation/animatedtiles/animatedtiles.py
@@ -265,4 +265,4 @@ if __name__ == '__main__':
states.start()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/examples/widgets/animation/appchooser/appchooser.py b/examples/widgets/animation/appchooser/appchooser.py
index 046da7243..0782211d2 100644
--- a/examples/widgets/animation/appchooser/appchooser.py
+++ b/examples/widgets/animation/appchooser/appchooser.py
@@ -134,4 +134,4 @@ if __name__ == '__main__':
window.resize(300, 300)
window.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/examples/widgets/animation/easing/easing.py b/examples/widgets/animation/easing/easing.py
index 6450730d0..24d37bd55 100644
--- a/examples/widgets/animation/easing/easing.py
+++ b/examples/widgets/animation/easing/easing.py
@@ -266,4 +266,4 @@ if __name__ == '__main__':
w = Window()
w.resize(600, 600)
w.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/examples/widgets/animation/states/states.py b/examples/widgets/animation/states/states.py
index 4e9343e13..d134f29b6 100644
--- a/examples/widgets/animation/states/states.py
+++ b/examples/widgets/animation/states/states.py
@@ -270,4 +270,4 @@ if __name__ == '__main__':
view = QGraphicsView(scene)
view.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())