mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue