From 91274c58b1772dfe38d3fcab291693141e822684 Mon Sep 17 00:00:00 2001
From: Daniel <49284193+dnlkrs@users.noreply.github.com>
Date: 周五, 06 12月 2024 21:55:30 +0800
Subject: [PATCH] Fix WindowsRegistryKey for Qt 6.8.1 (#154)

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