summaryrefslogtreecommitdiffstats
path: root/src/s60installs
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2010-03-09 13:57:23 (GMT)
committerJoão Abecasis <joao@trolltech.com>2010-03-09 15:46:30 (GMT)
commit6fb8d8af7cc9d3f7e90c0534aa2ec90dd7289176 (patch)
tree7c6c6d05b704709920272a14ec22782657af3fdd /src/s60installs
parent9b6c5a82b3693068e2db321c30be8c2e5f43b680 (diff)
downloadQt-6fb8d8af7cc9d3f7e90c0534aa2ec90dd7289176.zip
Qt-6fb8d8af7cc9d3f7e90c0534aa2ec90dd7289176.tar.gz
Qt-6fb8d8af7cc9d3f7e90c0534aa2ec90dd7289176.tar.bz2
In QFSFileEngine::fileFlags call getPermissions() only if entry exists
By calling doStat earlier and avoiding calling getPermissions if stat fails, we can assume doStat has been called inside getPermissions. We can also avoid the workaround for having all permissions set by default. Moved the check for FILE_ATTRIBUTE_DIRECTORY earlier in if condition, which should be cheaper. Merge-request: 428 Reviewed-by: João Abecasis <joao@trolltech.com>
Diffstat (limited to 'src/s60installs')
0 files changed, 0 insertions, 0 deletions