From f79b4c3ef8fae15e1bce56e4443caa76a9e2b00a Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 摹曛, 10 4月 2025 11:26:28 +0800
Subject: [PATCH] update qmsetup

---
 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