From 7f4d9db962e73aa5d5089c43c99b78b3690ffb87 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 31 May 2019 16:09:14 +0200 Subject: Cleanup: move trip-related functions into own translation unit These functions were spread out over dive.c and divelist.c. Move them into their own file to make all this a bit less monolithic. Signed-off-by: Berthold Stoeger --- mobile-widgets/qmlmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 4616ad04f..95454b3c5 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -24,7 +24,7 @@ #include "qt-models/gpslistmodel.h" #include "qt-models/completionmodels.h" #include "qt-models/messagehandlermodel.h" -#include "core/divelist.h" +#include "qt-models/tankinfomodel.h" #include "core/device.h" #include "core/file.h" #include "core/qthelper.h" @@ -32,7 +32,6 @@ #include "core/git-access.h" #include "core/cloudstorage.h" #include "core/membuffer.h" -#include "qt-models/tankinfomodel.h" #include "core/downloadfromdcthread.h" #include "core/subsurface-string.h" #include "core/pref.h" @@ -42,6 +41,7 @@ #include "core/settings/qPrefTechnicalDetails.h" #include "core/settings/qPrefPartialPressureGas.h" #include "core/settings/qPrefUnit.h" +#include "core/trip.h" QMLManager *QMLManager::m_instance = NULL; bool noCloudToCloud = false; -- cgit v1.2.3-70-g09d2