Planned maintenance: From Sunday 8th December 10:00 CET there will be changes to try and solve the caching issues that have been experienced. If anyone has a problem connecting after this period then please PM @AndyS or any of the moderators.
How can I get QFileSystemModel to display directories beginning with a "." (dotfiles) e.g. /users/paulsmith/.dirName?
I am working in Unix and I want QFileSystemModel to display directories beginning with a "." (dotfiles) e.g. /users/paulsmith/.dirName as well as ordinary directories.
QString sPath = "/users/paulsmith/";
dirModel = new QFileSystemModel(this);
...but the last line above doesn't do what I want to achieve and I don't know what else will. Does anybody know how?
Thank you that has worked well! The only problem is that now no files are being displayed. Do you know how to fix this but still keep the dotfiles?
@gshannon154 Yes. Just add