From aad4282fc3e3fd545b18d791384610a31f5757dc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Feb 2022 17:32:27 -0800 Subject: [PATCH] Qt6: fully define dive structure With Qt the forward declaration fails as the export to QML for the statistics requires the MOC code to be able to determine the sizeof(struct dive). Signed-off-by: Dirk Hohndel --- stats/statshelper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stats/statshelper.h b/stats/statshelper.h index bc3eb57a3..abd70cd95 100644 --- a/stats/statshelper.h +++ b/stats/statshelper.h @@ -8,8 +8,7 @@ #include #include #include - -struct dive; +#include "core/dive.h" // Round positions to integer values to avoid ugly artifacts QPointF roundPos(const QPointF &p);