mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Use the time with seconds also for track dates
This commit is contained in:
parent
70ad35c0fc
commit
c27f3918ed
@ -23,9 +23,11 @@ ToolTip TrackItem::info() const
|
|||||||
tt.insert(tr("Total time"), Format::timeSpan(_time));
|
tt.insert(tr("Total time"), Format::timeSpan(_time));
|
||||||
if (_movingTime > 0)
|
if (_movingTime > 0)
|
||||||
tt.insert(tr("Moving time"), Format::timeSpan(_movingTime));
|
tt.insert(tr("Moving time"), Format::timeSpan(_movingTime));
|
||||||
if (!_date.isNull())
|
if (!_date.isNull()) {
|
||||||
tt.insert(tr("Date"), l.toString(_date.toTimeZone(_timeZone),
|
QDateTime date(_date.toTimeZone(_timeZone));
|
||||||
QLocale::ShortFormat));
|
tt.insert(tr("Date"), l.toString(date.date(), QLocale::ShortFormat)
|
||||||
|
+ " " + date.time().toString("h:mm:ss"));
|
||||||
|
}
|
||||||
if (!_links.isEmpty()) {
|
if (!_links.isEmpty()) {
|
||||||
QString links;
|
QString links;
|
||||||
for (int i = 0; i < _links.size(); i++) {
|
for (int i = 0; i < _links.size(); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user