From fa380df5aa3a9c302760be3903eeebb6d866d8ee Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周五, 23 2月 2024 13:53:49 +0800 Subject: [PATCH] Fix typo in cmake config --- src/core/contexts/abstractwindowcontext.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/abstractwindowcontext.cpp b/src/core/contexts/abstractwindowcontext.cpp index 3b441c0..2665ac4 100644 --- a/src/core/contexts/abstractwindowcontext.cpp +++ b/src/core/contexts/abstractwindowcontext.cpp @@ -185,7 +185,7 @@ void AbstractWindowContext::virtual_hook(int id, void *data) { switch (id) { case CentralizeHook: { - if (!m_windowHandle) + if (!m_windowId) return; QRect windowGeometry = m_delegate->getGeometry(m_host); @@ -199,7 +199,7 @@ } case RaiseWindowHook: { - if (!m_windowHandle) + if (!m_windowId) return; m_delegate->setWindowVisible(m_host, true); -- Gitblit v1.9.1