summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-11 08:25:41 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-14 10:13:39 -0700
commitd577467f97e262d52ed2e1d1da94c14168480844 (patch)
treecd9e3242d839efda7264a7e5063311a5735bc034 /profile-widget
parentc71a5d74135d8ebf9dce6de6633499c1c41c07ff (diff)
downloadsubsurface-d577467f97e262d52ed2e1d1da94c14168480844.tar.gz
Core: introduce new subsurface-string header
First small step to shrinking dive.h. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divecartesianaxis.cpp1
-rw-r--r--profile-widget/diveeventitem.cpp1
-rw-r--r--profile-widget/profilewidget2.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/profile-widget/divecartesianaxis.cpp b/profile-widget/divecartesianaxis.cpp
index 4d7d9eaa3..d2b3b9347 100644
--- a/profile-widget/divecartesianaxis.cpp
+++ b/profile-widget/divecartesianaxis.cpp
@@ -2,6 +2,7 @@
#include "profile-widget/divecartesianaxis.h"
#include "profile-widget/divetextitem.h"
#include "core/helpers.h"
+#include "core/subsurface-string.h"
#include "core/subsurface-qt/SettingsObjectWrapper.h"
#ifndef SUBSURFACE_MOBILE
#include "desktop-widgets/preferences/preferencesdialog.h"
diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp
index 87e941387..f3c81f102 100644
--- a/profile-widget/diveeventitem.cpp
+++ b/profile-widget/diveeventitem.cpp
@@ -8,6 +8,7 @@
#include "core/gettextfromc.h"
#include "core/metrics.h"
#include "core/membuffer.h"
+#include "core/subsurface-string.h"
extern struct ev_select *ev_namelist;
extern int evn_used;
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index c033e2c34..62aa36114 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "profile-widget/profilewidget2.h"
#include "qt-models/diveplotdatamodel.h"
+#include "core/subsurface-string.h"
#include "core/helpers.h"
#include "core/profile.h"
#include "profile-widget/diveeventitem.h"