aboutsummaryrefslogtreecommitdiffstats
path: root/core/divecomputer.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-06-29 08:57:27 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2018-07-01 22:06:28 +0200
commitf86dd889bffb791e94fb68d4069ebe0c220505e1 (patch)
treee57f287154af2dc6087b357e19b1319dc2f39ee2 /core/divecomputer.cpp
parentbf60d29e99a7d201850766d9195a052599dfd018 (diff)
downloadsubsurface-f86dd889bffb791e94fb68d4069ebe0c220505e1.tar.gz
core: remove prefs-macros.h where unused
move #include prefs-macros from SettingsObjectWrapper.h to SettingsObjectWrapper.cpp include dive.h directly (only part of prefs-macros.h used) in preference classes Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/divecomputer.cpp')
-rw-r--r--core/divecomputer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/divecomputer.cpp b/core/divecomputer.cpp
index e9de3f64b..b3f01fb78 100644
--- a/core/divecomputer.cpp
+++ b/core/divecomputer.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "divecomputer.h"
+#include "dive.h"
#include "subsurface-string.h"
#include "subsurface-qt/SettingsObjectWrapper.h"