PDA

View Full Version : QDirIterator and windows drives



invictus
8th March 2009, 20:48
Hi

I use QDirIterator to search my computer for specific files, and it works great. I currently use it with "/" or "C:\" as path in order to search everything. However, this will only list the contents of C:\, and not other drives.

I know I can use QDir::drives(), however, this will list ALL drives, and not just the fixed hard drives. Anyone know any solution for this?

The problem is that my cardreader lists as a drive, but the application crashes if I try to iterate it.