From 293bc9cf2915b9ba0897b258ba7bfc5da93f2640 Mon Sep 17 00:00:00 2001
From: Jacob Muchow <jacobamuchow@gmail.com>
Date: 摹曛, 16 5月 2024 23:57:03 +0800
Subject: [PATCH] Fixes find_dependency() syntax in QWindowKitConfig.cmake

---
 src/core/contexts/qtwindowcontext.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index a72bce0..644ce64 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -121,7 +121,7 @@
         auto window = m_context->window();
         auto delegate = m_context->delegate();
         auto me = static_cast<const QMouseEvent *>(event);
-        bool fixedSize = delegate->isHostSizeFixed(host);
+        bool fixedSize = m_context->isHostSizeFixed();
 
         QPoint scenePos = getMouseEventScenePos(me);
         QPoint globalPos = getMouseEventGlobalPos(me);

--
Gitblit v1.9.1