aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/basictutorial/dialog.rst
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-17 18:09:48 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-17 18:30:21 +0200
commitecae80eefce191aae2ee11b6fdf71ed3d48f0b83 (patch)
treeb65bc200a37d5a47bc453fdf755911dc4b5bd022 /sources/pyside6/doc/tutorials/basictutorial/dialog.rst
parentc4b077486f2f85ec15fa9f75b6a8e34ce976f180 (diff)
Purge remaining app.exec_()
Add a porting note. Pick-to: 6.1 Change-Id: I4ccb1dc2a3a5925e55e94e7f3d23b1fb199afe4a Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials/basictutorial/dialog.rst')
-rw-r--r--sources/pyside6/doc/tutorials/basictutorial/dialog.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/doc/tutorials/basictutorial/dialog.rst b/sources/pyside6/doc/tutorials/basictutorial/dialog.rst
index da3b336cd..577db27d9 100644
--- a/sources/pyside6/doc/tutorials/basictutorial/dialog.rst
+++ b/sources/pyside6/doc/tutorials/basictutorial/dialog.rst
@@ -28,7 +28,7 @@ tutorial, but you can use this stub as is if you need to:
form = Form()
form.show()
# Run the main Qt loop
- sys.exit(app.exec_())
+ sys.exit(app.exec())
The imports aren't new to you, the same for the creation of the
`QApplication` and the execution of the Qt main loop.
@@ -138,4 +138,4 @@ Here is the complete code for this tutorial:
form = Form()
form.show()
# Run the main Qt loop
- sys.exit(app.exec_())
+ sys.exit(app.exec())