UI: Minor fixes

This commit is contained in:
Nodir Temirkhodjaev 2024-01-09 16:49:15 +03:00
parent fe5596fab4
commit b12f35ded8
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ private:
quint16 m_limitPacketLoss = 0; // Percent quint16 m_limitPacketLoss = 0; // Percent
quint32 m_limitLatency = 0; // Milliseconds quint32 m_limitLatency = 0; // Milliseconds
// KiBytes per sec. // kbits per sec.
quint32 m_speedLimitIn = 0; quint32 m_speedLimitIn = 0;
quint32 m_speedLimitOut = 0; quint32 m_speedLimitOut = 0;

View File

@ -71,7 +71,7 @@ void TrafficPage::onRetranslateUi()
void TrafficPage::retranslateTrafUnitNames() 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); ControlUtil::setComboBoxTexts(m_comboTrafUnit, list);