summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/cylindermodel.cpp1
-rw-r--r--qt-models/diveimportedmodel.cpp1
-rw-r--r--qt-models/diveplannermodel.cpp1
-rw-r--r--qt-models/models.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp
index 4f16231b3..448a86e2d 100644
--- a/qt-models/cylindermodel.cpp
+++ b/qt-models/cylindermodel.cpp
@@ -3,6 +3,7 @@
#include "tankinfomodel.h"
#include "models.h"
#include "core/qthelper.h"
+#include "core/divelist.h" // for mark_divelist_changed()
#include "core/color.h"
#include "qt-models/diveplannermodel.h"
#include "core/gettextfromc.h"
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp
index 5de0f7cb4..c5180dda8 100644
--- a/qt-models/diveimportedmodel.cpp
+++ b/qt-models/diveimportedmodel.cpp
@@ -1,5 +1,6 @@
#include "diveimportedmodel.h"
#include "core/qthelper.h"
+#include "core/divelist.h"
DiveImportedModel::DiveImportedModel(QObject *o) : QAbstractTableModel(o),
firstIndex(0),
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp
index 5a8889802..47d2bf275 100644
--- a/qt-models/diveplannermodel.cpp
+++ b/qt-models/diveplannermodel.cpp
@@ -6,6 +6,7 @@
#include "qt-models/models.h"
#include "core/device.h"
#include "core/qthelper.h"
+#include "core/divelist.h" // for mark_divelist_changed()
#include "core/settings/qPrefDivePlanner.h"
#include "desktop-widgets/command.h"
#include "core/gettextfromc.h"
diff --git a/qt-models/models.cpp b/qt-models/models.cpp
index ee68be2ca..f6b3e927f 100644
--- a/qt-models/models.cpp
+++ b/qt-models/models.cpp
@@ -7,6 +7,7 @@
*/
#include "qt-models/models.h"
#include "core/qthelper.h"
+#include "core/dive.h"
#include "core/gettextfromc.h"
#include <QLocale>