Merge pull request #5774 from thalieht/unit_precision

Increase number of digits after the decimal point. Closes #5053
This commit is contained in:
sledgehammer999 2017-01-21 14:05:26 +02:00 committed by GitHub
commit 5b35981c85
3 changed files with 12 additions and 2 deletions

View file

@ -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);