Opened 16 years ago

Closed 16 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.

Change History (1)

comment:1 Changed 16 years ago by dmik

Resolution: fixed
Status: newclosed

rudi,

Thank you for contributing this fix! Applied in r185.

Note: See TracTickets for help on using tickets.