summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qpagesetupdialog.h
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2010-02-26 14:34:16 (GMT)
committermread <qt-info@nokia.com>2010-02-26 15:34:24 (GMT)
commit4302c8fa7a234f6f4cfc35f572b93a000d199fe3 (patch)
treebec678094c45c3fcaff86bdf843075ea8f23b0dc /src/gui/dialogs/qpagesetupdialog.h
parent7ca00ed67cb18fb858e1e89cec21b3db696fa923 (diff)
downloadQt-4302c8fa7a234f6f4cfc35f572b93a000d199fe3.zip
Qt-4302c8fa7a234f6f4cfc35f572b93a000d199fe3.tar.gz
Qt-4302c8fa7a234f6f4cfc35f572b93a000d199fe3.tar.bz2
Symbian file system use optimisation for stat and symlinks
Symbian implementation of fileFlags calls both doStat and isSymlink resulting in calls to both stat and lstat. However most of the time, ie when accessing a normal file rather than a symlink, lstat gives all the information we require. So this change uses lstat where possible, and caches its result for both doStat and isSymlink. During start of DesktopServices app, this cuts calls to stat/lstat by 45%. Reviewed-by: Shane Kearns
Diffstat (limited to 'src/gui/dialogs/qpagesetupdialog.h')
0 files changed, 0 insertions, 0 deletions