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>
This commit is contained in:
Berthold Stoeger 2020-10-26 16:56:46 +01:00 committed by Dirk Hohndel
parent 2a876be844
commit ab94956759

View file

@ -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