It makes sense on some level that passing a directory name (or file name) to QFile::exists() returns true if the item exists. If you wanted to guarantee that the item exists *and* is a file, you'd have to do as I suggested in my first post.
If you feel that this is a bug, I'd recommend that you submit a bug report.
Good luck.
Bookmarks