]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Don't use mixed units in size-column of details-view
[dolphin.git] / src / views / dolphinview.h
index c681737c6bf81c5791334e02e67f9f336e1bd161..2bbdf2b711c5454800a18674ad6da1426478235b 100644 (file)
@@ -732,6 +732,12 @@ private:
     QByteArray sortRoleForSorting(Sorting sorting) const;
     Sorting sortingForSortRole(const QByteArray& sortRole) const;
 
+    /**
+     * 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 : 1;
     bool m_tabsForFiles : 1;