aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst')
-rw-r--r--sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst b/sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst
index e81e4964a..894060e98 100644
--- a/sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst
+++ b/sources/pyside6/doc/tutorials/basictutorial/clickablebutton.rst
@@ -65,7 +65,7 @@ Finally, we show the button and start the Qt main loop:
# Show the button
button.show()
# Run the main Qt loop
- app.exec_()
+ app.exec()
Here is the complete code for this example:
::
@@ -87,4 +87,4 @@ Here is the complete code for this example:
button.clicked.connect(say_hello)
button.show()
# Run the main Qt loop
- app.exec_()
+ app.exec()