commit 05f50a0544dde0e5c344f445029f824c3701d894
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Mon Oct 21 17:37:43 2024 +0200
Fixup 4d51a05c: QTimeZone is available since Qt 6.5
---
src/support/lyxtime.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/support/lyxtime.cpp b/src/support/lyxtime.cpp
index daf3dcc9ac..99a797254c 100644
--- a/src/support/lyxtime.cpp
+++ b/src/support/lyxtime.cpp
@@ -19,7 +19,7 @@
#include <QDateTime>
#include <QLocale>
-#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0))
+#if (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0))
#include <QTimeZone>
#endif
@@ -72,7 +72,7 @@ time_t from_asctime_utc(string t)
<< "ยด (invalid format)");
return static_cast<time_t>(-1);
}
-#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0))
+#if (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0))
loc_dt.setTimeZone(QTimeZone(QTimeZone::UTC));
#else
loc_dt.setTimeSpec(Qt::UTC);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs