aboutsummaryrefslogtreecommitdiffstats
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>2012-03-08 16:54:25 -0300
commit2c2398db4fc249eb656739732f4a18b5f22fc81c (patch)
tree5ad879e22eff30c323542f37a4638a1ed746e54d
parent0c8a5401d92416a8a526b26e5e429df0abc1f5fe (diff)
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 572dd4c4..91d0e176 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]