From c22fd9f4fd6699333629b8acb1e9c135a9783082 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 4 Mar 2019 23:20:29 +0100 Subject: Dive sites: prepare for dive site ref-counting Add a dive site table to each dive site to keep track of dives that have been added to a dive site. Add two functions to add dives to / remove dives from dive sites. Since dive sites now contain a dive table, the order of includes had to be changed: "divesite.h" now includes "dive.h" and not vice-versa. This caused some include churn. Signed-off-by: Berthold Stoeger --- desktop-widgets/divelogimportdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/divelogimportdialog.cpp') diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp index 0bbb0dcb5..a6242ec8d 100644 --- a/desktop-widgets/divelogimportdialog.cpp +++ b/desktop-widgets/divelogimportdialog.cpp @@ -11,6 +11,7 @@ #include #include #include "core/qthelper.h" +#include "core/divesite.h" #include "core/import-csv.h" static QString subsurface_mimedata = "subsurface/csvcolumns"; -- cgit v1.2.3-70-g09d2