aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
diff options
context:
space:
mode:
authorCarlos Bohórquez <carlos@kernelmap.com>2015-09-08 19:50:12 +0200
committerCarlos Bohórquez <carlos@kernelmap.com>2015-09-08 19:50:12 +0200
commitc1e13633ce69cd9047697b645e2914bff145eaaa (patch)
tree295c5b2040b96ed3d5b7fe4f2a8990f5865acca6 /lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
parentSolves the issue 11073 (diff)
downloadlumina-c1e13633ce69cd9047697b645e2914bff145eaaa.tar.gz
lumina-c1e13633ce69cd9047697b645e2914bff145eaaa.tar.bz2
lumina-c1e13633ce69cd9047697b645e2914bff145eaaa.zip
Avoid follow symlinks for size information.
Qt follows symlinks in Unix when size function is used. As a result, if you have several symlinks that points to big files, the information will be "wrong". It's better to avoid call size on symlinks and lost several hundred of bytes instead of get the size of the same file several times. If needed, lstat systemcall can be used to get symlinks real size.
Diffstat (limited to 'lumina-desktop/panel-plugins/userbutton/UserItemWidget.h')
0 files changed, 0 insertions, 0 deletions
bgstack15