From cc65c4da6ad762e8648b2ab6a801e07c50922d3d Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周二, 04 2月 2025 21:58:21 +0800
Subject: [PATCH] fix compilation error

---
 src/quick/quickwindowagent.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/quick/quickwindowagent.h b/src/quick/quickwindowagent.h
index de52d49..e4290e6 100644
--- a/src/quick/quickwindowagent.h
+++ b/src/quick/quickwindowagent.h
@@ -33,11 +33,10 @@
 
 #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
         Q_INVOKABLE bool isHitTestVisible(QQuickItem *item) const;
-        Q_INVOKABLE void setHitTestVisible(QQuickItem *item, bool visible = true);
 #else
         Q_INVOKABLE bool isHitTestVisible(const QQuickItem *item) const;
-        Q_INVOKABLE void setHitTestVisible(const QQuickItem *item, bool visible = true);
 #endif
+        Q_INVOKABLE void setHitTestVisible(QQuickItem *item, bool visible = true);
 
 #ifdef Q_OS_MAC
         // The system button area APIs are experimental, very likely to change in the future.

--
Gitblit v1.9.1