Revert the 2.0 decision to always use KB for file-sizes
author Peter Penz
()
committer Peter Penz
()
commit 5559aaaa0bf2f731ce2413f140b20f4a2d3c60b3
tree 78d45ac67feed3d296d37efd72312e3b6b7431cd
parent da87fe48976147d656f6c0157face04d729e6ceb
Revert the 2.0 decision to always use KB for file-sizes

The feedback on bugs.kde.org has shown that the previous behavior
(= show size with best-matching unit) is preferred by most users.
I initially wanted to make this configurable, but for implementing
it in a non-hacky way extending KLocale from kdelibs would have
been required. I'm not sure whether the usecase in Dolphin justifies
having such a configuration in KLocale - however as kdelibs is frozen
at the moment this is no option and the old behavior has been
restored.

BUG: 289850
FIXED-IN: 4.8.3
dolphin/src/kitemviews/kfileitemlistwidget.cpp
dolphin/src/views/dolphinview.cpp
dolphin/src/views/dolphinview.h