aboutsummaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/codesnippets/doc/src/snippets/shareddirmodel/main.cpp')
-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]