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