1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02: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();
if (time() > 0) {
if (_movingTimeAction->isChecked())
_timeLabel->setText(Format::timeSpan(movingTime()));
else
if (_movingTimeAction->isChecked()) {
_timeLabel->setText(Format::timeSpan(movingTime())
+ "<sub>M</sub>");
_timeLabel->setToolTip(Format::timeSpan(time()));
} else {
_timeLabel->setText(Format::timeSpan(time()));
} else
_timeLabel->setToolTip(Format::timeSpan(movingTime()));
}
} else {
_timeLabel->clear();
_timeLabel->setToolTip(QString());
}
}
void GUI::updateWindowTitle()