mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Merge pull request #5774 from thalieht/unit_precision
Increase number of digits after the decimal point. Closes #5053
This commit is contained in:
commit
5b35981c85
3 changed files with 12 additions and 2 deletions
|
@ -83,6 +83,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