mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
2a876be844
commit
ab94956759
1 changed files with 3 additions and 4 deletions
|
@ -6,12 +6,14 @@ class MinMaxAvgWidgetPrivate;
|
||||||
class QAbstractButton;
|
class QAbstractButton;
|
||||||
class QNetworkReply;
|
class QNetworkReply;
|
||||||
class FilterModelBase;
|
class FilterModelBase;
|
||||||
|
struct dive;
|
||||||
|
struct dive_components;
|
||||||
|
|
||||||
|
#include "core/units.h"
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QGroupBox>
|
#include <QGroupBox>
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QTextEdit>
|
#include <QTextEdit>
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#include "ui_renumber.h"
|
#include "ui_renumber.h"
|
||||||
#include "ui_setpoint.h"
|
#include "ui_setpoint.h"
|
||||||
|
@ -21,9 +23,6 @@ class FilterModelBase;
|
||||||
#include "ui_divecomponentselection.h"
|
#include "ui_divecomponentselection.h"
|
||||||
#include "ui_listfilter.h"
|
#include "ui_listfilter.h"
|
||||||
#include "ui_addfilterpreset.h"
|
#include "ui_addfilterpreset.h"
|
||||||
#include "core/exif.h"
|
|
||||||
#include "core/dive.h"
|
|
||||||
|
|
||||||
|
|
||||||
class MinMaxAvgWidget : public QWidget {
|
class MinMaxAvgWidget : public QWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Reference in a new issue