summaryrefslogtreecommitdiffstats
path: root/demos/demos.pro
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-09-10 12:17:12 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-09-10 12:17:12 (GMT)
commit529aa7d39f8eab70a954f02ac1ac5a6bac9889bb (patch)
tree5409aba6c4cd8fc52ea984f61188c2ff6cea6967 /demos/demos.pro
parent4506d57fc0320234efcd4ab39e2fe9c2810b4d3c (diff)
downloadQt-529aa7d39f8eab70a954f02ac1ac5a6bac9889bb.zip
Qt-529aa7d39f8eab70a954f02ac1ac5a6bac9889bb.tar.gz
Qt-529aa7d39f8eab70a954f02ac1ac5a6bac9889bb.tar.bz2
Fix QFileInfo::isHidden on Mac
Having HiddenAttribute as part of PosixStatFlags, meant that we would assume we knew about it whenever we stat'ed, which wasn't the intent. As that is just one of the queries we do on Mac OS to determine if a file is considered hidden. Instead, we explicitly ask for a stat anytime the attribute is queried for. The proper fix will be to perform the cheap operations (e.g., file name begins with '.') first and only stat if we still haven't got an answer.
Diffstat (limited to 'demos/demos.pro')
0 files changed, 0 insertions, 0 deletions