Skip to content

Commit

Permalink
chore: fix compile error on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
ZgblKylin committed Dec 8, 2022
1 parent cfec1bf commit 2d2bf92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AnchorWidget.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <KtUtils/AnchorWidget>

Q_DECLARE_METATYPE(QGraphicsLayoutItem*)

namespace KtUtils {
/* ============================== AnchorWidget ============================== */
struct AnchorWidget::Private {
Expand Down Expand Up @@ -95,7 +97,6 @@ bool AnchorWidget::event(QEvent* event) {
/* ============================== AnchorWidget ============================== */

/* ============================== AnchorLayout ============================== */
Q_DECLARE_METATYPE(QGraphicsLayoutItem*)
static constexpr const char* kItemPropertyName = "GraphicsLayoutItem";

AnchorLayout::AnchorLayout(AnchorWidget* parent) {
Expand Down

0 comments on commit 2d2bf92

Please sign in to comment.