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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-02-09 17:32:27 -08:00
parent 2af3da96a7
commit 75fca8c090

View File

@ -8,8 +8,7 @@
#include <vector>
#include <QPointF>
#include <QSGNode>
struct dive;
#include "core/dive.h"
// Round positions to integer values to avoid ugly artifacts
QPointF roundPos(const QPointF &p);