aboutsummaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl2/hellogl2.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-06-10 20:46:25 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2021-06-12 19:31:17 +0000
commit090d4fba6a444590d850c697472e5fbcef46b0a4 (patch)
treecd2c70bfdf6549d962daaf266f4f2223cd4cc9a9 /examples/opengl/hellogl2/hellogl2.py
parent32222315eb32177d4161ee2e417d9910a07f6039 (diff)
examples: add screenshots to more modules
Adding screenshots and small documentation file to the modules - corelib - datavisualization - external - opengl - quick - sql - uitools - webchannel - webenginewidgets - some widgets - xml Renaming the widgets gallery due to name conflict with the quick controls gallery, and fixing two typos from contextinfo.py and hellogl2.py. Task-number: PYSIDE-841 Pick-to: 6.1 Change-Id: I2705e5d605fa738da0dca906cf6acb4b9d5d3dcd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/opengl/hellogl2/hellogl2.py')
-rw-r--r--examples/opengl/hellogl2/hellogl2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellogl2/hellogl2.py b/examples/opengl/hellogl2/hellogl2.py
index 6dfc032ad..2f170dc90 100644
--- a/examples/opengl/hellogl2/hellogl2.py
+++ b/examples/opengl/hellogl2/hellogl2.py
@@ -232,7 +232,7 @@ class GLWidget(QOpenGLWidget, QOpenGLFunctions):
def __init__(self, transparent, parent=None):
QOpenGLWidget.__init__(self, parent)
- super().__init__()
+ QOpenGLFunctions.__init__(self)
self._transparent = transparent
self._core = QSurfaceFormat.defaultFormat().profile() == QSurfaceFormat.CoreProfile