Ref T125, human readable file size

This commit is contained in:
Klaus Basan
2017-08-15 02:11:22 +02:00
committed by Mathew Sutcliffe
parent 8c032fb4d7
commit 53189eafd5
4 changed files with 36 additions and 5 deletions

View File

@@ -130,6 +130,9 @@ namespace BlackMisc
//! UNC file paths on Qt start with "/", but UNC file paths only work when they start with "//"
//! \remark On Windows starting with "/" means an UNC path, on UNIX it varies, see http://unix.stackexchange.com/a/12291/19428
static QString fixWindowsUncPath(const QString &filePath);
//! Human readable (GB, MB, ..) file size
static QString humanReadableFileSize(qint64 size);
};
} // ns