D13549: Switch KIO::convertSize() to KFormat::formatByteSize()

Pino Toscano noreply at phabricator.kde.org
Thu Jun 14 20:20:19 UTC 2018


pino created this revision.
pino added a reviewer: dfaure.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
pino requested review of this revision.

REVISION SUMMARY
  Make KIO::convertSize() use KFormat::formatByteSize(), instead of using
  an own copy of the same function. The handling of the user
  configuration of the default dialect is left as-is, and it should work
  fine since the two enums BinaryUnitDialect (the removed one, and the
  one in KFormat) are the same.

TEST PLAN
  Builds fine, no changes to the result of KIO::convertSize().

REPOSITORY
  R241 KIO

BRANCH
  kformat (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D13549

AFFECTED FILES
  src/core/global.cpp

To: pino, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180614/03e57ad1/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list