aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 8fbb74b6a..c3249f03f 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -17,6 +17,7 @@
#include "mobile-widgets/qmlmanager.h"
#include "mobile-widgets/qmlinterface.h"
#include "mobile-widgets/statsmanager.h"
+#include "stats/chartlistmodel.h"
#include "qt-models/divesummarymodel.h"
#include "qt-models/gpslistmodel.h"
#include "qt-models/messagehandlermodel.h"
@@ -212,6 +213,7 @@ static void register_qml_types(QQmlEngine *engine)
register_qml_type<QMLProfile>("QMLProfile");
register_qml_type<DiveImportedModel>("DCImportModel");
register_qml_type<DiveSummaryModel>("DiveSummaryModel");
+ register_qml_type<ChartListModel>("ChartListModel");
#endif // not SUBSURFACE_MOBILE
register_qml_type<MapWidgetHelper>("MapWidgetHelper");