From 16e5740828a6f66c6437100f9e66c90bbee498d0 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 9 Apr 2012 09:44:05 +0200 Subject: 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.9.0 --- src/views/dolphinview.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/views/dolphinview.h') diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 71128569a..130657b16 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -716,12 +716,6 @@ private: */ void updateWritableState(); - /** - * Returns the text for the filesize by converting it to the best fitting - * unit. - */ - static QString fileSizeText(KIO::filesize_t fileSize); - private: bool m_active; bool m_tabsForFiles; -- cgit v1.3.1