diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-26 16:56:46 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 20:56:56 -0700 |
commit | ab94956759a934b7686b4db7874fb6266703726a (patch) | |
tree | ed78a6a205fcb4528f9fcca11d6c137d1c932c17 /desktop-widgets/simplewidgets.h | |
parent | 2a876be84400958184d76473773544b979c76953 (diff) | |
download | subsurface-ab94956759a934b7686b4db7874fb6266703726a.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/simplewidgets.h')
-rw-r--r-- | desktop-widgets/simplewidgets.h | 7 |
1 files 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 <QWidget> #include <QGroupBox> #include <QDialog> #include <QTextEdit> -#include <stdint.h> #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 |