From b12f35ded8d5b91a616d099d9c4e3b04b080c1f6 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Tue, 9 Jan 2024 16:49:15 +0300 Subject: [PATCH] UI: Minor fixes --- src/ui/conf/appgroup.h | 2 +- src/ui/form/stat/pages/trafficpage.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/conf/appgroup.h b/src/ui/conf/appgroup.h index 10023358..1c7abd25 100644 --- a/src/ui/conf/appgroup.h +++ b/src/ui/conf/appgroup.h @@ -109,7 +109,7 @@ private: quint16 m_limitPacketLoss = 0; // Percent quint32 m_limitLatency = 0; // Milliseconds - // KiBytes per sec. + // kbits per sec. quint32 m_speedLimitIn = 0; quint32 m_speedLimitOut = 0; diff --git a/src/ui/form/stat/pages/trafficpage.cpp b/src/ui/form/stat/pages/trafficpage.cpp index 2ff8353c..56f9d07c 100644 --- a/src/ui/form/stat/pages/trafficpage.cpp +++ b/src/ui/form/stat/pages/trafficpage.cpp @@ -71,7 +71,7 @@ void TrafficPage::onRetranslateUi() void TrafficPage::retranslateTrafUnitNames() { - const QStringList list = { tr("Adaptive"), tr("Bytes"), "KiB", "MiB", "GiB", "TiB" }; + const QStringList list = { tr("Adaptive"), tr("Bytes"), "kB", "MB", "GB", "TB" }; ControlUtil::setComboBoxTexts(m_comboTrafUnit, list);