mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T125, human readable file size
This commit is contained in:
committed by
Mathew Sutcliffe
parent
8c032fb4d7
commit
53189eafd5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user