diff options
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index c681737c6..2bbdf2b71 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -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; |
