mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-04 14:17:52 -04:00
Fix the UTC displayed at left of waterfall in FT4 mode.
This commit is contained in:
parent
6b575d0029
commit
964c148794
@ -241,7 +241,6 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
|
|||||||
QString t;
|
QString t;
|
||||||
qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000;
|
qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000;
|
||||||
int n=(ms/1000) % m_TRperiod;
|
int n=(ms/1000) % m_TRperiod;
|
||||||
if(m_mode=="FT4") n=0;
|
|
||||||
QDateTime t1=QDateTime::currentDateTimeUtc().addSecs(-n);
|
QDateTime t1=QDateTime::currentDateTimeUtc().addSecs(-n);
|
||||||
if(m_TRperiod < 60 or m_mode=="FT4") {
|
if(m_TRperiod < 60 or m_mode=="FT4") {
|
||||||
t=t1.toString("hh:mm:ss") + " " + m_rxBand;
|
t=t1.toString("hh:mm:ss") + " " + m_rxBand;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user