Opened 15 years ago
Closed 15 years ago
#109 closed defect (fixed)
QFSfileEngine doesn't set RootFlag for drives
Reported by: | Dmitry A. Kuminov | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Qt Beta 5 |
Component: | QtCore | Version: | 4.5.1 Beta 3 |
Severity: | Keywords: | ||
Cc: |
Description
As a result, QFileInfo::isRoot("X:/") returns false. This confuses QDirModel and makes intefaces using it (e.g. examples\itemviews\dirview or the mp3diags file tree view) look really wrong, see the screenshot.
Attachments (2)
Change History (4)
by , 15 years ago
Attachment: | dirview.png added |
---|
by , 15 years ago
How QTreeView(QDirModel) looks on Windows and how it should look
comment:1 by , 15 years ago
The QFSFileEngine problem is fixed in r375. I also fixed setting of the Hidden flag; previously Qt reported files starting with a dot as hidden (e.g. Unix style).
Also, I added a few usual #ifdef Q_OS_OS2 in addition to Q_OS_WIN in QDirModel in r376 which should make it behave in a DOS-like way on OS/2 too.
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
According to my tests everything works OK now. Pol Elbert confirms that too.
How QTreeView(QDirModel) looks on OS/2