From d9942269a9b61bc35bd939b23858a7cb4a2515c3 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 14 Dec 2020 23:21:58 +0100 Subject: printing: remove DiveObjectHelperGrantlee This was a weird helper object, needed for grantlee. Instead of storing this object, loop over cylinders and dives directly. The actual accessor function is unchanged and now generates a DiveObjectHelper or DiveCylinderHelper for every variable access. Obviously, this is very inefficient. However, this will be replaced in future commits by direct calls to formatting functions. Signed-off-by: Berthold Stoeger --- core/string-format.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/string-format.h') diff --git a/core/string-format.h b/core/string-format.h index 96a9638e4..cbe6336db 100644 --- a/core/string-format.h +++ b/core/string-format.h @@ -15,5 +15,6 @@ QStringList formatStartPressure(const dive *d); QStringList formatEndPressure(const dive *d); QStringList formatFirstGas(const dive *d); QStringList formatFullCylinderList(); +QStringList formatCylinders(const dive *d); #endif -- cgit v1.2.3-70-g09d2