summaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp')
-rw-r--r--doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp b/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
index 26a3343..103c2d3 100644
--- a/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
+++ b/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
@@ -47,6 +47,7 @@
//! [0]
class MyWidget(QWidget):
def __init__(self, parent):
+ super(QWidget, self).__init__(parent)
loader = QUiLoader()
file = QFile(":/forms/myform.ui")
file.open(QFile.ReadOnly)