I am trying to list a directory using QTreeView, but I would like to include the root in the tree (but no other files from the same level as root). In other words, assuming I am user hovercraft, what I get with
is:Qt Code:To copy to clipboard, switch view to plain text mode
-bar
-baz
--naz
--naznaz
--naznaznaz
---todd-is-god
-boz
-foo
What I want is:
-hovercraft
--bar
--baz
---naz
---naznaz
---naznaznaz
----todd-is-god
--boz
--foo
Is there a nobrainer way to do this?
-M
Bookmarks