diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-05-13 16:51:26 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-14 10:13:39 -0700 |
commit | ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb (patch) | |
tree | 794fbb5bfda8c60ce8b06d81c86fa7e8d6739a92 /profile-widget | |
parent | be64f6f3c0afd24fe81bbb7245eb352bab9c7d6a (diff) | |
download | subsurface-ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb.tar.gz |
Core: remove dive.h from files that don't need it
Of course, quite a few of them indirectly get it through other header
files.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/diveprofileitem.cpp | 2 | ||||
-rw-r--r-- | profile-widget/divetooltipitem.cpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index 529024c11..90f78f9e1 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -4,14 +4,12 @@ #include "profile-widget/divecartesianaxis.h" #include "profile-widget/divetextitem.h" #include "profile-widget/animationfunctions.h" -#include "core/dive.h" #include "core/profile.h" #ifndef SUBSURFACE_MOBILE #include "desktop-widgets/preferences/preferencesdialog.h" #endif #include "qt-models/diveplannermodel.h" #include "core/helpers.h" -#include "core/dive.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" #include "libdivecomputer/parser.h" #include "profile-widget/profilewidget2.h" diff --git a/profile-widget/divetooltipitem.cpp b/profile-widget/divetooltipitem.cpp index 7360adcea..f286ef9a6 100644 --- a/profile-widget/divetooltipitem.cpp +++ b/profile-widget/divetooltipitem.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "profile-widget/divetooltipitem.h" #include "profile-widget/divecartesianaxis.h" -#include "core/dive.h" #include "core/profile.h" #include "core/membuffer.h" #include "core/metrics.h" |