mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Insert leading zero when needed in UTC hours or minutes, on waterfall.
This commit is contained in:
parent
e729a67a36
commit
fbd5028711
@ -274,7 +274,7 @@ void CPlotter::UTCstr()
|
|||||||
ihr=imin/60;
|
ihr=imin/60;
|
||||||
imin=imin % 60;
|
imin=imin % 60;
|
||||||
}
|
}
|
||||||
m_sutc = QString {"%1:%2"}.arg (ihr, 2).arg (imin, 2);
|
m_sutc = QString {"%1:%2"}.arg (ihr,2,10,QLatin1Char('0')).arg (imin,2,10,QLatin1Char('0'));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPlotter::DrawOverlay() //DrawOverlay()
|
void CPlotter::DrawOverlay() //DrawOverlay()
|
||||||
|
Loading…
Reference in New Issue
Block a user