Opened 17 years ago
Closed 17 years ago
#40 closed defect (fixed)
File dialog box sometimes missing ".." entry
Reported by: | rudi | Owned by: | dmik |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | dialogs | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
On some drives, the file dialog box does not contain the ".." folder entry. This happens only on the first subdirectory level on some drives.
Solution is to change line 5891 in qfiledialog.cpp from:
if ( !bShowHiddenFiles ) {
to:
if ( !bShowHiddenFiles && inf.name() != ".." ) {
There is a comment about a "bug" in Windows a few lines above. HPFS seems to behave the same way.
Note:
See TracTickets
for help on using tickets.
rudi,
Thank you for contributing this fix! Applied in r185.