From 28f34ff4908a90b1a7323b2988c33cdb1779fa06 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 26 Jun 2020 09:28:37 +0200 Subject: New upstream version 2.2.2+repack --- widgets/astro.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/astro.cpp') diff --git a/widgets/astro.cpp b/widgets/astro.cpp index 8c083a89..122b86ef 100644 --- a/widgets/astro.cpp +++ b/widgets/astro.cpp @@ -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" -- cgit v1.2.3