aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-08 08:05:19 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-06-08 10:03:36 +0000
commitff8b698d3547b39ba20c97a4c68881a4a789b211 (patch)
tree95935570609ce2505ccec33ff73e8a93972c4b68 /sources/pyside2
parent003d8ce281edbe0ad4f480d15fa0155a9cae6bb4 (diff)
Doc: Fix typo in the code snippet for QQuickImageProvider5.9
Change-Id: I2af23226c93706c0c18f07ce4cf59e362b170997 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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