From ab94956759a934b7686b4db7874fb6266703726a Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 26 Oct 2020 16:56:46 +0100 Subject: [PATCH] cleanup: remove dive.h include in simplewidgets.h Let's simply forward declare the needed structures. Also removes removes two more unnecessary includes. Signed-off-by: Berthold Stoeger --- desktop-widgets/simplewidgets.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h index c88ddd5f4..a51571132 100644 --- a/desktop-widgets/simplewidgets.h +++ b/desktop-widgets/simplewidgets.h @@ -6,12 +6,14 @@ class MinMaxAvgWidgetPrivate; class QAbstractButton; class QNetworkReply; class FilterModelBase; +struct dive; +struct dive_components; +#include "core/units.h" #include #include #include #include -#include #include "ui_renumber.h" #include "ui_setpoint.h" @@ -21,9 +23,6 @@ class FilterModelBase; #include "ui_divecomponentselection.h" #include "ui_listfilter.h" #include "ui_addfilterpreset.h" -#include "core/exif.h" -#include "core/dive.h" - class MinMaxAvgWidget : public QWidget { Q_OBJECT