summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2012-01-04 11:22:55 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-01-04 11:23:47 -0200
commit2e20211cb711ad1767d17d074da24c7857d9450d (patch)
tree70eaa5b8f40fcbf861e2b0a28bd3cee89cc5c6b4
parente2e9520e71d7e4aecbda3f76f99b12ca5c9bec2d (diff)
downloadpyside-2e20211cb711ad1767d17d074da24c7857d9450d.tar.gz
pyside-2e20211cb711ad1767d17d074da24c7857d9450d.tar.xz
pyside-2e20211cb711ad1767d17d074da24c7857d9450d.zip
Fix bug 1044 - "Incorrect call to parent constructor in example"
-rw-r--r--doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp b/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
index 103c2d3..f7775a9 100644
--- a/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
+++ b/doc/codesnippets/doc/src/snippets/quiloader/mywidget.cpp
@@ -47,7 +47,7 @@
//! [0]
class MyWidget(QWidget):
def __init__(self, parent):
- super(QWidget, self).__init__(parent)
+ super(MyWidget, self).__init__(parent)
loader = QUiLoader()
file = QFile(":/forms/myform.ui")
file.open(QFile.ReadOnly)