summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-05-30 14:44:09 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-05-30 14:44:09 -0300
commit30444ccab72906fe3f57ca63c770127d40f191ea (patch)
tree6c575053154bb39f31133920cb70595e5d4e0a08
parent2aeac5e05b43c1c3e0ffb1ef9d4fe4a19bfc1919 (diff)
downloadpyside-30444ccab72906fe3f57ca63c770127d40f191ea.tar.gz
pyside-30444ccab72906fe3f57ca63c770127d40f191ea.tar.xz
pyside-30444ccab72906fe3f57ca63c770127d40f191ea.zip
Minor change in a doc code snippet.
-rw-r--r--doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp b/doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp
index 572dd4c..91d0e17 100644
--- a/doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp
+++ b/doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp
@@ -58,7 +58,7 @@ def main():
model = QFileSystemModel()
model.setRootPath(QDir.currentPath())
//! [0] //! [2] //! [4] //! [5]
- tree = QTreeView(splitter)
+ tree = QTreeView()
//! [3] //! [6]
tree.setModel(model)
//! [4] //! [6] //! [7]