From bea10dda0694b2e8fe95fb08baf00044bd1c4908 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Thu, 2 Jan 2025 09:54:18 -0300 Subject: [PATCH] Remove references to unused QCalendarWidget --- src/Charts/DiaryWindow.cpp | 2 +- src/Charts/DiaryWindow.h | 1 - src/Gui/AthletePages.h | 1 - src/Gui/Pages.h | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Charts/DiaryWindow.cpp b/src/Charts/DiaryWindow.cpp index 0e7c66809..01a36c713 100644 --- a/src/Charts/DiaryWindow.cpp +++ b/src/Charts/DiaryWindow.cpp @@ -65,7 +65,7 @@ DiaryWindow::DiaryWindow(Context *context) : vlayout->addLayout(controls); - // monthly view via QCalendarWidget + // monthly view calendarModel = new GcCalendarModel(this, &fieldDefinitions, context); calendarModel->setSourceModel(context->athlete->rideCache->model()); diff --git a/src/Charts/DiaryWindow.h b/src/Charts/DiaryWindow.h index a20522412..d25972ab0 100644 --- a/src/Charts/DiaryWindow.h +++ b/src/Charts/DiaryWindow.h @@ -22,7 +22,6 @@ #include "GoldenCheetah.h" #include -#include #include #include "Context.h" diff --git a/src/Gui/AthletePages.h b/src/Gui/AthletePages.h index 59fbf0c60..10e82305e 100644 --- a/src/Gui/AthletePages.h +++ b/src/Gui/AthletePages.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/src/Gui/Pages.h b/src/Gui/Pages.h index 6dcb3fc95..b9f9aa4d1 100644 --- a/src/Gui/Pages.h +++ b/src/Gui/Pages.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include