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:
parent
41fd72c815
commit
aad4282fc3
@ -8,8 +8,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <QPointF>
|
#include <QPointF>
|
||||||
#include <QSGNode>
|
#include <QSGNode>
|
||||||
|
#include "core/dive.h"
|
||||||
struct dive;
|
|
||||||
|
|
||||||
// Round positions to integer values to avoid ugly artifacts
|
// Round positions to integer values to avoid ugly artifacts
|
||||||
QPointF roundPos(const QPointF &p);
|
QPointF roundPos(const QPointF &p);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user