Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Example does not run as it should!
jdent last edited by
An example taken from "Using views with an existing model" which uses 2 views inside a splitter, one being a QTreeView and the other a QListView, the model being a QFileSystemModel, when I set:
Then, the dialog box opens on the currentPath but i cannot navigate towards or go to another directory...
When I remove those calls to setRootIndex, then thee tree view opens at the highest folder (the computer) and I am able to drill into any directory I need...
Any ideas how to correct this?
Can you show how you setup your widgets and model ?