summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2010-01-07 18:28:53 (GMT)
committerJoão Abecasis <joao@trolltech.com>2010-01-07 18:30:27 (GMT)
commit751de8211033b40c66d88140137eef76e6b20cfa (patch)
tree839ecf91a587168782e5aba4320f2af7a678de84 /src/gui/image
parent428a624f73ed03a311f572386de1a518ad3d5d5a (diff)
downloadQt-751de8211033b40c66d88140137eef76e6b20cfa.zip
Qt-751de8211033b40c66d88140137eef76e6b20cfa.tar.gz
Qt-751de8211033b40c66d88140137eef76e6b20cfa.tar.bz2
Avoid repeatedly calling LookupAccountSid in QFSFileEngine::owner
Try to retrieve user/group name in a single call to LookupAccountSid, by using pre-allocated buffers. Only call a second time if the buffer size is insufficient. 64 bytes should be enough in common case. Previously, we would always call LookupAccountSid twice, even if ERROR_NONE_MAPPED occured first time. Merge-request: 815 Reviewed-by: João Abecasis <joao@trolltech.com>
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions