Closed ferion11 closed 5 years ago
Thanks, I will review the changes tomorrow.
Sorry for the late reply. Looks ok, but files should not have the expand icon.
On the View the files don't have expand icon. If you use the "QFileSystemModel", the expand icon show only for directory. But the "myModel" (from libfm) is saying that the file item can be expanded. I thought it was a feature, such as for previewing files or opening compressed files as if they were directories. I will review the "myModel" (from libfm) code.
ahh, yes. Then we have a bug in mymodel.
fixed in master.
But that broke the tree dock... Will look into that later.
Probably because directories aren't the only ones having children. Some like this should solve: if (!parent.isValid()) return true; // for drives
Seems to work, thanks.
For the https://github.com/rodlie/qtfm/issues/135 I'm using this on my notebook.