summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-01 13:43:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-01 09:42:31 -0700
commit95284c026e763482ef581c8b6298012d2c1fd941 (patch)
treeae00ee0920b3e31991cb324d256ac0c97a5027fd /desktop-widgets
parentc13040798c66c5254fbcc921842cd519da05a4c5 (diff)
downloadsubsurface-95284c026e763482ef581c8b6298012d2c1fd941.tar.gz
cleanup: move dive_table from dive.h to divelist.h
This allows us to decouple dive.h and divelist.h, a small step in include disentangling. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/importgps.cpp2
-rw-r--r--desktop-widgets/templatelayout.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/importgps.cpp b/desktop-widgets/importgps.cpp
index 6e36c548a..fa2529883 100644
--- a/desktop-widgets/importgps.cpp
+++ b/desktop-widgets/importgps.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/importgps.h"
+#include "core/dive.h" // for utc_mkdate()
/* Import dive coordinates from a GPS device and synchronise them with the dive profile information
of a dive computer. This file contains the infrastructure to:
@@ -152,4 +153,3 @@ void ImportGPS::timeZoneEditChanged()
getCoordsFromGPXFile(&coords, fileName);
updateUI();
}
-
diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp
index 55aabe706..633d4569c 100644
--- a/desktop-widgets/templatelayout.cpp
+++ b/desktop-widgets/templatelayout.cpp
@@ -4,6 +4,7 @@
#include <list>
#include "templatelayout.h"
+#include "core/divelist.h"
#include "core/selection.h"
QList<QString> grantlee_templates, grantlee_statistics_templates;