┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h6
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;