From 021256b60697a66f96c1e22300d7b4901086b10d Mon Sep 17 00:00:00 2001 From: Shyamnath Premnadh Date: Thu, 27 Jan 2022 18:58:09 +0100 Subject: Fix examples/widgets/dialogs/classwizard.py - Changed str to QPixmap Pick-to: 6.2 Change-Id: I591fee0bf254e2c0c5684fc5982d5a3d57695e6d Reviewed-by: Friedemann Kleint --- examples/widgets/dialogs/classwizard/classwizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/widgets/dialogs/classwizard/classwizard.py') 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') -- cgit v1.2.3