aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/portingguide
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/tutorials/portingguide')
-rw-r--r--sources/pyside6/doc/tutorials/portingguide/chapter1/main.py2
-rw-r--r--sources/pyside6/doc/tutorials/portingguide/chapter2/main.py2
-rw-r--r--sources/pyside6/doc/tutorials/portingguide/chapter3/main-old.py2
-rw-r--r--sources/pyside6/doc/tutorials/portingguide/chapter3/main.py2
-rw-r--r--sources/pyside6/doc/tutorials/portingguide/hello_world_ex.py2
-rw-r--r--sources/pyside6/doc/tutorials/portingguide/index.rst2
6 files changed, 6 insertions, 6 deletions
diff --git a/sources/pyside6/doc/tutorials/portingguide/chapter1/main.py b/sources/pyside6/doc/tutorials/portingguide/chapter1/main.py
index 5b42a61a1..c60ff6839 100644
--- a/sources/pyside6/doc/tutorials/portingguide/chapter1/main.py
+++ b/sources/pyside6/doc/tutorials/portingguide/chapter1/main.py
@@ -56,4 +56,4 @@ if __name__ == "__main__":
table_view.setModel(model)
table_view.resize(800, 600)
table_view.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/sources/pyside6/doc/tutorials/portingguide/chapter2/main.py b/sources/pyside6/doc/tutorials/portingguide/chapter2/main.py
index c9c907f90..cf023fb35 100644
--- a/sources/pyside6/doc/tutorials/portingguide/chapter2/main.py
+++ b/sources/pyside6/doc/tutorials/portingguide/chapter2/main.py
@@ -60,4 +60,4 @@ if __name__ == "__main__":
table.resize(800, 600)
table.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/sources/pyside6/doc/tutorials/portingguide/chapter3/main-old.py b/sources/pyside6/doc/tutorials/portingguide/chapter3/main-old.py
index 675f8032b..edaf5cf60 100644
--- a/sources/pyside6/doc/tutorials/portingguide/chapter3/main-old.py
+++ b/sources/pyside6/doc/tutorials/portingguide/chapter3/main-old.py
@@ -49,4 +49,4 @@ if __name__ == "__main__":
window.resize(800, 600)
window.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/sources/pyside6/doc/tutorials/portingguide/chapter3/main.py b/sources/pyside6/doc/tutorials/portingguide/chapter3/main.py
index e957869ac..3994a66b4 100644
--- a/sources/pyside6/doc/tutorials/portingguide/chapter3/main.py
+++ b/sources/pyside6/doc/tutorials/portingguide/chapter3/main.py
@@ -50,4 +50,4 @@ if __name__ == "__main__":
window.resize(800, 600)
window.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/sources/pyside6/doc/tutorials/portingguide/hello_world_ex.py b/sources/pyside6/doc/tutorials/portingguide/hello_world_ex.py
index 81b63b7ea..f29cbd9ba 100644
--- a/sources/pyside6/doc/tutorials/portingguide/hello_world_ex.py
+++ b/sources/pyside6/doc/tutorials/portingguide/hello_world_ex.py
@@ -73,4 +73,4 @@ if __name__ == "__main__":
widget.resize(800, 600)
widget.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
diff --git a/sources/pyside6/doc/tutorials/portingguide/index.rst b/sources/pyside6/doc/tutorials/portingguide/index.rst
index 12f76d3fc..bc7e6dee5 100644
--- a/sources/pyside6/doc/tutorials/portingguide/index.rst
+++ b/sources/pyside6/doc/tutorials/portingguide/index.rst
@@ -93,7 +93,7 @@ follow the guidelines outlined in the
app = QApplication(sys.argv)
label = QLabel("Hello World")
label.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())
.. note:: Qt provides classes that are meant to manage
the application-specific requirements depending on