aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-01-27 18:58:09 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-01-28 14:07:21 +0100
commit021256b60697a66f96c1e22300d7b4901086b10d (patch)
tree2bf7b241823c221cc94394450a65b164d48f2b97 /examples
parentfaf68094cb8a6719582dd54b59cafb5500fc4af1 (diff)
Fix examples/widgets/dialogs/classwizard.py
- Changed str to QPixmap Pick-to: 6.2 Change-Id: I591fee0bf254e2c0c5684fc5982d5a3d57695e6d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/dialogs/classwizard/classwizard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/dialogs/classwizard/classwizard.py b/examples/widgets/dialogs/classwizard/classwizard.py
index a7c7e2c58..00db1c1ad 100644
--- a/examples/widgets/dialogs/classwizard/classwizard.py
+++ b/examples/widgets/dialogs/classwizard/classwizard.py
@@ -317,7 +317,7 @@ class QObjectPage(QWizardPage):
self.setTitle("QObject parameters")
self.setSubTitle("Specify the signals, slots and properties.")
self.setPixmap(QWizard.LogoPixmap,
- ':/qt-project.org/logos/pysidelogo.png')
+ QPixmap(':/qt-project.org/logos/pysidelogo.png'))
layout = QVBoxLayout(self)
self._properties_chooser = PropertyChooser()
self.registerField('properties', self._properties_chooser, 'items')