mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Increased number of digits after the decimal point for Gibibytes and above
This commit is contained in:
parent
bec4617128
commit
311b060c70
2 changed files with 10 additions and 1 deletions
|
@ -88,6 +88,7 @@ namespace Utils
|
|||
// value must be given in bytes
|
||||
bool friendlyUnit(qint64 sizeInBytes, qreal& val, SizeUnit& unit);
|
||||
QString friendlyUnit(qint64 bytesValue, bool isSpeed = false);
|
||||
int friendlyUnitPrecision(SizeUnit unit);
|
||||
qint64 sizeInBytes(qreal size, SizeUnit unit);
|
||||
|
||||
bool isPreviewable(const QString& extension);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue