D13571: Correct KFormat::formatBytes examples
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Mon Jun 18 15:39:21 UTC 2018
bruns added inline comments.
INLINE COMMENTS
> kformattest.cpp:37
> QCOMPARE(format.formatByteSize(0), QStringLiteral("0 B"));
> QCOMPARE(format.formatByteSize(50), QStringLiteral("50 B"));
> QCOMPARE(format.formatByteSize(500), QStringLiteral("500 B"));
See here for handling of precision for small values. Or read the code in kformatprivate.cpp.
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D13571
To: bruns, #frameworks
Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180618/bea932d6/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list