aboutsummaryrefslogtreecommitdiffstats
path: root/examples/installer_test
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-12-20 08:35:46 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-01-06 11:52:18 +0100
commit7189a4c5ec193d30c6bd4e68701038880cbc5982 (patch)
tree87e4ec00d7e9d31e5df0c11b155e46ffd3726362 /examples/installer_test
parentab8b330123cb557f66306b237f4c3aa8c0004f39 (diff)
Use fully qualified enumerations in more examples
Pick-to: 6.8 Task-number: PYSIDE-1735 Change-Id: Ic2c478ef363d73f65f366e21529c0429c86539aa Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/installer_test')
-rw-r--r--examples/installer_test/hello.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py
index e10276048..162327c4f 100644
--- a/examples/installer_test/hello.py
+++ b/examples/installer_test/hello.py
@@ -36,7 +36,7 @@ class MyWidget(QWidget):
self.button = QPushButton("Click me!")
self.text = QLabel(f"Hello World auto_quit={auto_quit}")
- self.text.setAlignment(Qt.AlignCenter)
+ self.text.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.layout = QVBoxLayout()
self.layout.addWidget(self.text)