]> cloud.milkyroute.net Git - dolphin.git/commit
Don't use mixed units in size-column of details-view
authorPeter Penz <peter.penz19@gmail.com>
Fri, 4 Nov 2011 20:54:01 +0000 (21:54 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 4 Nov 2011 20:58:32 +0000 (21:58 +0100)
commiteadbf920b5dffdf2d1548240c25ec2eaf835aad5
treefec0857c4a8b95cdaaa6756f50b9412c35b58668
parentd27f776cd2675e67b70556ad4033230435d89d8e
Don't use mixed units in size-column of details-view

This makes it tricky to compare the filesizes without adjusting
the sort-order, so now all sizes in the size-column are shown
in KiB or KB (dependent on the KLocale setting).

BUG: 219932
FIXED-IN: 4.8.0

Related fixes:
- Stay consistent with the rounding when using the KiB/KB unit
  in the statusbar.
- Fix sorting-by-size issue for folders
- Show "Unknown" in the size-column when the number of items
  cannot be determined.
src/dolphinviewcontainer.cpp
src/kitemviews/kfileitemlistwidget.cpp
src/kitemviews/kfileitemmodel.cpp
src/views/dolphinview.cpp
src/views/dolphinview.h