From d802d268debdbad94cf604dff63eb58ce1fb9209 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 16 Sep 2024 16:05:51 +0200 Subject: [PATCH] Remove spurious #include from QJulianCalendar's implementation The data tables are used to implement the locale-support methods, which Julian inherits from Roman, so it doesn't need to access those tables directly for itself - and doing so (potentially) duplicated their static data in two compilation units. Pick-to: 6.5 6.2 Task-number: QTBUG-128930 Change-Id: I313c14441c947daeb702aa17d85b4b6d4b5d3636 Reviewed-by: Thiago Macieira (cherry picked from commit 58ddd0ac31c1a9861463a77e31865e6249dfe2c6) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/time/qjuliancalendar.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/time/qjuliancalendar.cpp b/src/corelib/time/qjuliancalendar.cpp index 1439ae3e00c..47da952b84a 100644 --- a/src/corelib/time/qjuliancalendar.cpp +++ b/src/corelib/time/qjuliancalendar.cpp @@ -3,7 +3,6 @@ #include "qglobal.h" #include "qjuliancalendar_p.h" -#include "qromancalendar_data_p.h" #include "qcalendarmath_p.h" #include