Minor change in a doc code snippet.
This commit is contained in:
parent
2aeac5e05b
commit
30444ccab7
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue