aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2')
-rw-r--r--sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp b/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp
index 1bff5729..b3890114 100644
--- a/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp
+++ b/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp
@@ -51,7 +51,7 @@
//![0]
class ColorImageProvider (QQuickImageProvider):
def __init__(self):
- QQuickImageProvider.__init__(self, QDeclarativeImageProvider.Pixmap)
+ QQuickImageProvider.__init__(self, QQuickImageProvider.Pixmap)
def requestPixmap(id, size, requestedSize):
width = 100