Insert leading zero when needed in UTC hours or minutes, on waterfall.

This commit is contained in:
Joe Taylor 2021-06-14 10:52:36 -04:00
parent e729a67a36
commit fbd5028711

View File

@ -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()