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:
parent
99e32b1a15
commit
ff733b2705
14
src/gui.cpp
14
src/gui.cpp
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user