Using QFileDialog::getExistingDirectory() to list files too !
Is there a way that QFileDialog::getExistingDirectory() would also display the files but allow selecting only a directory.
I need this feature in my application. I need to save multiple files to a folder selected by user and user can know (if he/she wants) if any of the file(s) is(are) present in that folder.
Change the Options parameter from "getExistingDirectory":http://qt-project.org/doc/qt-4.8/qfiledialog.html#getExistingDirectory to 0, you should have what you need
Setting the Options parameter to 0 didn't work.