Use KFormat also in performance preferences
ClosedPublic

Authored by pino on Jun 28 2018, 7:16 AM.

Details

Summary

Format the amount of available RAM using KFormat, but keeping the same
unit, and scale (since the controls there refer to specific ones).

Test Plan

The amount of RAM is shown in KiB as before, although
formatted according to KFormat & locale.

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
pino created this revision.Jun 28 2018, 7:16 AM
Restricted Application added a project: Krita. · View Herald TranscriptJun 28 2018, 7:16 AM
pino requested review of this revision.Jun 28 2018, 7:16 AM
pino updated this revision to Diff 36810.Jun 28 2018, 7:22 AM

Upload the actual patch (with MiB)...

rempt accepted this revision.Jun 28 2018, 8:27 AM
This revision is now accepted and ready to land.Jun 28 2018, 8:27 AM
This revision was automatically updated to reflect the committed changes.
pino added a comment.Jun 28 2018, 6:17 PM

@rempt may I backport it to the krita/4.1 branch too? It should be safe, and it does not break the string freeze.

rempt added a comment.Jun 28 2018, 6:29 PM

Yes, please.