-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
16d08f97eaa7dd0469d7c9006546f86f1fd763f6
When I use a QFileSystemModel with a VisualDataModel, it doesn't work beyond the first level in the tree.
The initial view shows the top level '/' directory. When I click that I get the next directories. I click 'home' and get an empty screen.
If I use a QDirModel instead it works. The difference is the QDirModel is not populated on demand, while QFilsSystemModel is.
#if 0
QAbstractItemModel *fsModel = new QDirModel(this);
#else
QFileSystemModel *fsModel = new QFileSystemModel(this);
fsModel->setRootPath("/");
#endif