From 29de9aca0bdc094d1088d1e55a16bbdb5635d3de Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 10 Jan 2024 10:54:37 +0200 Subject: [PATCH] Fix build. --- src/app/puzzle/scene/scenedef.h | 2 +- src/libs/vlayout/vfoldline.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/puzzle/scene/scenedef.h b/src/app/puzzle/scene/scenedef.h index b2ba79c50..4cdbbd1aa 100644 --- a/src/app/puzzle/scene/scenedef.h +++ b/src/app/puzzle/scene/scenedef.h @@ -28,7 +28,7 @@ #ifndef SCENEDEF_H #define SCENEDEF_H -#include "qtypes.h" +#include enum class PGraphicsItem : int { diff --git a/src/libs/vlayout/vfoldline.h b/src/libs/vlayout/vfoldline.h index 40a7544ff..0850db9c5 100644 --- a/src/libs/vlayout/vfoldline.h +++ b/src/libs/vlayout/vfoldline.h @@ -74,6 +74,7 @@ class VFoldLine Q_DECLARE_TR_FUNCTIONS(VFoldLine) // NOLINT public: + VFoldLine() = default; VFoldLine(const QLineF &line, FoldLineType type); void SetHeight(qreal newHeight);