From e9dd1b150f3958ae90900456b04ce0688c93d7fe Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 25 Apr 2021 21:31:44 +0200 Subject: cleanup: remove unnecessary includes from profilewidget2.cpp These became unnecessary along the way. "qthelper.hpp" was included twice and was to broad and was replaced by . Signed-off-by: Berthold Stoeger --- profile-widget/profilewidget2.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'profile-widget') diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index b980dd739..3557ede83 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -4,7 +4,6 @@ #include "core/event.h" #include "core/subsurface-string.h" #include "core/qthelper.h" -#include "core/picture.h" #include "core/profile.h" #include "core/settings/qPrefDisplay.h" #include "core/settings/qPrefTechnicalDetails.h" @@ -20,20 +19,14 @@ #include "core/pref.h" #include "qt-models/diveplannermodel.h" #include "qt-models/models.h" -#include "qt-models/divepicturemodel.h" // TODO: remove once divepictures have been undo-ified -#include "core/divelist.h" #include "core/errorhelper.h" #ifndef SUBSURFACE_MOBILE #include "desktop-widgets/simplewidgets.h" -#include "desktop-widgets/divepicturewidget.h" -#include "desktop-widgets/mainwindow.h" #include "commands/command.h" -#include "core/qthelper.h" #include "core/gettextfromc.h" #include "core/imagedownloader.h" #endif -#include #include #include #include @@ -41,12 +34,12 @@ #include #include #include +#include #include #ifndef QT_NO_DEBUG #include #endif -#include #define PP_GRAPHS_ENABLED (prefs.pp_graphs.po2 || prefs.pp_graphs.pn2 || prefs.pp_graphs.phe) -- cgit v1.2.3-70-g09d2