diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2009-08-11 16:11:27 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-11 16:21:30 (GMT) |
commit | f36fb8b2b63b3734cc2bd66b329ca4fef1204845 (patch) | |
tree | 18f7dd3fa9d7a88abdac58d5ac3afe9773eb80f3 /FAQ.txt | |
parent | 7fe0dfb80efd67886a33fe8b37e9714175925688 (diff) | |
download | Qt-f36fb8b2b63b3734cc2bd66b329ca4fef1204845.zip Qt-f36fb8b2b63b3734cc2bd66b329ca4fef1204845.tar.gz Qt-f36fb8b2b63b3734cc2bd66b329ca4fef1204845.tar.bz2 |
'.' and '..' must not be hidden
_unix code always sets HiddenFlag for special dirs which is wrong;
also there is some inconsistence under win:
* FindFirstFile sets FILE_ATTRIBUTE_HIDDEN flag for ".." of hidden dir
*even* if parent dir is not hidden;
* GetFileAttributes sets FILE_ATTRIBUTE_HIDDEN flag for ".."
*only* if parent dir is hidden.
so, _win part sets HiddenFlag wrong too;
finally, we never test parent dir's flags;
futhermore hidden special dirs (dotAndDotDot) makes dir iterator's filtering a bit more complex
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
Diffstat (limited to 'FAQ.txt')
0 files changed, 0 insertions, 0 deletions