Commit 139114b2 authored by Alexander Potashev's avatar Alexander Potashev
Browse files

SelectSizeTypeComboBox: Use KiB/MiB/GiB quantifiers for clarity

Summary:
Binary SI units are used in Sieve, see
https://tools.ietf.org/html/rfc5228#section-2.4.1

Test Plan: it compiles

Reviewers: kde-pim, winterz

Reviewed By: winterz

Subscribers: winterz, kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D26025
parent 5f2b7503
Pipeline #20969 passed with stage
in 10 minutes and 37 seconds
...@@ -37,9 +37,9 @@ SelectSizeTypeComboBox::~SelectSizeTypeComboBox() ...@@ -37,9 +37,9 @@ SelectSizeTypeComboBox::~SelectSizeTypeComboBox()
void SelectSizeTypeComboBox::initialize() void SelectSizeTypeComboBox::initialize()
{ {
addItem(i18n("Bytes"), QString()); addItem(i18n("Bytes"), QString());
addItem(i18n("KB"), QStringLiteral("K")); addItem(i18n("KiB"), QStringLiteral("K"));
addItem(i18n("MB"), QStringLiteral("M")); addItem(i18n("MiB"), QStringLiteral("M"));
addItem(i18n("GB"), QStringLiteral("G")); addItem(i18n("GiB"), QStringLiteral("G"));
} }
QString SelectSizeTypeComboBox::code() const QString SelectSizeTypeComboBox::code() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment