QDirIterator only dirs from one level without subdirs. How?
Solved
General and Desktop
-
Hello!
Got confused on very simple issue.
Need to get only dirs from one level without subdirs. How to get it?
For now I am using this:QDirIterator oDirs( pPath, QDir::Dirs|QDir::NoDotAndDotDot, QDirIterator::Subdirectories );
What I need to change here for getting only dirs from first level without subdirs where path is defined?
-
Not possible with a plain QDirIterator - you have to do it by your own.
-
@Christian-Ehrlicher ... it's pain ... :-) Issue closed painfully.