From 16214e753adda16867184df8a57301a13f2e041c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 15 Jul 2019 23:16:29 +0200 Subject: [PATCH] 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 --- desktop-widgets/preferences/preferences_graph.cpp | 1 + qt-models/models.h | 3 --- 2 files changed, 1 insertion(+), 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 #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"