From cd179571ef4905e01f724b2889f27c27d23533aa Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周五, 17 5月 2024 11:42:05 +0800 Subject: [PATCH] Update qmsetup --- src/core/contexts/qtwindowcontext.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index 3a21965..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); @@ -253,7 +253,7 @@ AbstractWindowContext::virtual_hook(id, data); } - void QtWindowContext::winIdChanged() { + void QtWindowContext::winIdChanged(WId winId, WId oldWinId) { if (!m_windowHandle) { m_delegate->setWindowFlags(m_host, m_delegate->getWindowFlags(m_host) & ~Qt::FramelessWindowHint); -- Gitblit v1.9.1