Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.1.1, 5.2.0 RC1
-
None
-
Windows 7
-
qtbase/stable: Added manual test 1171175a567eb6ad515f98e0074dda12c9712264 (10.12.2013)
Description
The following lines:
QFileDialog dir_selector(this);
dir_selector.setFileMode(QFileDialog::Directory);
dir_selector.exec()
Correctly execute a Windows-native directory explorer, but does not display the files inside, contrary to the documentation:
QFileDialog::Directory 2 The name of a directory. Both files and directories are displayed.
It should be noted that the output of:
qDebug() << dir_selector.testOption(QFileDialog::ShowDirsOnly);
is false.
Attachments
Issue Links
- relates to
-
QTBUG-53199 QFileDialog::getExistingDirectory() opens native OpenFileDialog instead of native BrowseDirectoryDialog
-
- Closed
-
-
QTBUG-46982 QFileDialog::ShowDirsOnly doc needs amendment
-
- Closed
-