From 95284c026e763482ef581c8b6298012d2c1fd941 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 1 May 2020 13:43:52 +0200 Subject: 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 --- desktop-widgets/importgps.cpp | 2 +- desktop-widgets/templatelayout.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop-widgets') 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 #include "templatelayout.h" +#include "core/divelist.h" #include "core/selection.h" QList grantlee_templates, grantlee_statistics_templates; -- cgit v1.2.3-70-g09d2