mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:35:10 +00:00
UI: Speed formatting: Revert up/down arrows
This commit is contained in:
parent
c2e66a7da5
commit
78b579c76f
@ -170,12 +170,12 @@ QString AppGroup::menuLabel() const
|
||||
QString text = name();
|
||||
|
||||
if (enabledSpeedLimitIn() != 0) {
|
||||
text += QLatin1Char(' ') + QChar(0x02C5) // ˅
|
||||
text += QLatin1Char(' ') + QChar(0x2193) // ↓
|
||||
+ NetUtil::formatSpeed(speedLimitIn() * 1024);
|
||||
}
|
||||
|
||||
if (enabledSpeedLimitOut() != 0) {
|
||||
text += QLatin1Char(' ') + QChar(0x02C4) // ˄
|
||||
text += QLatin1Char(' ') + QChar(0x2191) // ↑
|
||||
+ NetUtil::formatSpeed(speedLimitOut() * 1024);
|
||||
}
|
||||
|
||||
|
@ -421,8 +421,8 @@ void GraphWindow::updateWindowTitleSpeed()
|
||||
const auto outBits =
|
||||
m_graphOut->data()->isEmpty() ? 0 : (m_graphOut->data()->constEnd() - 1)->mainValue();
|
||||
|
||||
setWindowTitle(QChar(0x02C5) // ˅
|
||||
+ NetUtil::formatSpeed(quint32(inBits)) + ' ' + QChar(0x02C4) // ˄
|
||||
setWindowTitle(QChar(0x2193) // ↓
|
||||
+ NetUtil::formatSpeed(quint32(inBits)) + ' ' + QChar(0x2191) // ↑
|
||||
+ NetUtil::formatSpeed(quint32(outBits)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user