summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-15 23:16:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-18 05:42:55 -0700
commit16214e753adda16867184df8a57301a13f2e041c (patch)
tree8e08e9b7016ad58ad7c2936e5cf903c63bd554dd /desktop-widgets
parentb720f3697874338c3bf77a65ed3b319897841e26 (diff)
downloadsubsurface-16214e753adda16867184df8a57301a13f2e041c.tar.gz
Cleanup: remove includes from qt-models/models.h
qt-models/models.h included dive.h and divelist.h. Remove these unnecessary includes, to reduce interdependencies. A drop in the bucket, for sure. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/preferences/preferences_graph.cpp1
1 files changed, 1 insertions, 0 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)
{