[SOLVED]QDir::EntryList
General and Desktop
3
Posts
2
Posters
5.2k
Views
2
Watching
-
Hi
If I want to get a list of all files and sub folders in a folder, but excluding dot and dotdot I thought that this should do the trickQDir myDir("somepath"); QStringList files = myDir.entryList(QDir::NoDotAndDotDot);
However, this seems to return no strings
Removing the filter returns the list as expected but including dot and dotdotIs this the correct behavior or have I misunderstood something?
Thanks