mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-07 16:34:55 -04:00
Qt v5.15 compatibility
This commit is contained in:
@@ -131,7 +131,11 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const
|
||||
QTextStream out {&message};
|
||||
out << " " << date << "\n"
|
||||
"UTC: " << utc << "\n"
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
<< Qt::fixed
|
||||
#else
|
||||
<< fixed
|
||||
#endif
|
||||
<< qSetFieldWidth (6)
|
||||
<< qSetRealNumberPrecision (1)
|
||||
<< "Az: " << azmoon << "\n"
|
||||
|
||||
Reference in New Issue
Block a user