1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Indicate moving time in status bar

This commit is contained in:
Martin Tůma 2017-02-12 20:11:36 +01:00
parent 99e32b1a15
commit ff733b2705

View File

@ -1091,12 +1091,18 @@ void GUI::updateStatusBarInfo()
_distanceLabel->clear(); _distanceLabel->clear();
if (time() > 0) { if (time() > 0) {
if (_movingTimeAction->isChecked()) if (_movingTimeAction->isChecked()) {
_timeLabel->setText(Format::timeSpan(movingTime())); _timeLabel->setText(Format::timeSpan(movingTime())
else + "<sub>M</sub>");
_timeLabel->setToolTip(Format::timeSpan(time()));
} else {
_timeLabel->setText(Format::timeSpan(time())); _timeLabel->setText(Format::timeSpan(time()));
} else _timeLabel->setToolTip(Format::timeSpan(movingTime()));
}
} else {
_timeLabel->clear(); _timeLabel->clear();
_timeLabel->setToolTip(QString());
}
} }
void GUI::updateWindowTitle() void GUI::updateWindowTitle()