From 79f95b7f7dbdec1b7e1638056981d305e588969d Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 15 Dec 2020 16:18:06 +0100 Subject: core: remove DiveObjectHelper Since switching to the mobile-models and removing grantlee, DiveObjectHelper was demoted to a thin wrapper around string formatting functions. The last user was removed in a previous commit. It was never a good idea, given QML's strange memory-management. Let's remove it. Signed-off-by: Berthold Stoeger --- mobile-widgets/qmlmanager.cpp | 1 - mobile-widgets/qmlmanager.h | 1 - 2 files changed, 2 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 8e88d91aa..857525a34 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -48,7 +48,6 @@ #include "core/settings/qPrefTechnicalDetails.h" #include "core/settings/qPrefPartialPressureGas.h" #include "core/settings/qPrefUnit.h" -#include "core/subsurface-qt/diveobjecthelper.h" #include "core/trip.h" #include "backend-shared/exportfuncs.h" #include "core/worldmap-save.h" diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index cbb451d8a..d4adbc9b9 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -23,7 +23,6 @@ #endif class QAction; -class DiveObjectHelper; struct DiveSiteChange; // An obscure implementation artifact - remove in due course. class QMLManager : public QObject { -- cgit v1.2.3-70-g09d2