QFileInfoGatherer: general cleanups
authorMarc Mutz <marc.mutz@kdab.com>
Tue, 7 Aug 2012 17:45:16 +0000 (19:45 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 24 Sep 2012 22:08:16 +0000 (00:08 +0200)
commit07c44f7bd3c0b6061cba5a525995f616f1083672
tree3f7574c198c15fd1bfa6d363231c270b2016fa45
parent0c2b7b1020384c095500599a687a88306f98c0f6
QFileInfoGatherer: general cleanups

- fix typo in comment
- make translateDriveName file-static
- use QList::reserve()
- explicit ctor
- annotate functions called by owning thread/run()
- iconProvider() and resolveSymlinks() shouldn't be slots
- private instead of protected
- run() marked Q_DECL_OVERRIDE
- annotate which members are protected by 'mutex'

Change-Id: Ic176a030b0597c98f48185efd17260fd62532460
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/widgets/dialogs/qfileinfogatherer.cpp
src/widgets/dialogs/qfileinfogatherer_p.h