UI: Speed formatting: Revert up/down arrows

This commit is contained in:
Nodir Temirkhodjaev 2024-01-05 16:31:43 +03:00
parent c2e66a7da5
commit 78b579c76f
2 changed files with 4 additions and 4 deletions

View File

@ -170,12 +170,12 @@ QString AppGroup::menuLabel() const
QString text = name(); QString text = name();
if (enabledSpeedLimitIn() != 0) { if (enabledSpeedLimitIn() != 0) {
text += QLatin1Char(' ') + QChar(0x02C5) // ˅ text += QLatin1Char(' ') + QChar(0x2193) // ↓
+ NetUtil::formatSpeed(speedLimitIn() * 1024); + NetUtil::formatSpeed(speedLimitIn() * 1024);
} }
if (enabledSpeedLimitOut() != 0) { if (enabledSpeedLimitOut() != 0) {
text += QLatin1Char(' ') + QChar(0x02C4) // ˄ text += QLatin1Char(' ') + QChar(0x2191) // ↑
+ NetUtil::formatSpeed(speedLimitOut() * 1024); + NetUtil::formatSpeed(speedLimitOut() * 1024);
} }

View File

@ -421,8 +421,8 @@ void GraphWindow::updateWindowTitleSpeed()
const auto outBits = const auto outBits =
m_graphOut->data()->isEmpty() ? 0 : (m_graphOut->data()->constEnd() - 1)->mainValue(); m_graphOut->data()->isEmpty() ? 0 : (m_graphOut->data()->constEnd() - 1)->mainValue();
setWindowTitle(QChar(0x02C5) // ˅ setWindowTitle(QChar(0x2193) // ↓
+ NetUtil::formatSpeed(quint32(inBits)) + ' ' + QChar(0x02C4) // ˄ + NetUtil::formatSpeed(quint32(inBits)) + ' ' + QChar(0x2191) // ↑
+ NetUtil::formatSpeed(quint32(outBits))); + NetUtil::formatSpeed(quint32(outBits)));
} }