Fix sorting issue when sorting by "size"
author Peter Penz
()
committer Peter Penz
()
commit e196f065efeb911db931f549004daa8d9bbaa914
tree f49e2205288eda65210e96ae6cbae2cb49270463
parent d80f35e634aba07281f4339125e8d0a51cd07eda
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
dolphin/src/kitemviews/kfileitemmodel.cpp
dolphin/src/kitemviews/kfileitemmodel.h