aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/preferences/preferences_graph.cpp1
-rw-r--r--qt-models/models.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp
index f8262bbb1..2b3c35135 100644
--- a/desktop-widgets/preferences/preferences_graph.cpp
+++ b/desktop-widgets/preferences/preferences_graph.cpp
@@ -7,6 +7,7 @@
#include <QMessageBox>
#include "qt-models/models.h"
+#include "core/dive.h" // TODO: replace by deco.h
PreferencesGraph::PreferencesGraph() : AbstractPreferencesWidget(tr("Profile"), QIcon(":graph-icon"), 5)
{
diff --git a/qt-models/models.h b/qt-models/models.h
index d11090cd2..012b1f8b6 100644
--- a/qt-models/models.h
+++ b/qt-models/models.h
@@ -16,9 +16,6 @@
#include "core/metrics.h"
-#include "core/dive.h"
-#include "core/divelist.h"
-#include "core/divecomputer.h"
#include "cleanertablemodel.h"
#include "treemodel.h"