]> cloud.milkyroute.net Git - dolphin.git/commit
Fix sorting issue when sorting by "size"
authorPeter Penz <peter.penz19@gmail.com>
Thu, 2 Feb 2012 14:58:42 +0000 (15:58 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 2 Feb 2012 15:02:31 +0000 (16:02 +0100)
commita55199684898960a25aa9afc730120660087cb5f
treedc25fab010128789a09e94847afa6a61acef4dba
parent9ef4b489c043a1bdfdb2931959f58e366862fe35
Fix sorting issue when sorting by "size"

Root cause of the issue was an overflow in:
result = a - b;
where result is 'int' and a and b are 'KIO::filesize_t'.

BUG: 293086
FIXED-IN: 4.8.1
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kfileitemmodel.h