From 09287f3d9e9e88271de2bfd5388dae5a53e8c6f5 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 07 12æ 2023 15:03:24 +0800 Subject: [PATCH] Add host event filter --- src/core/contexts/win32windowcontext.cpp | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/core/contexts/win32windowcontext.cpp b/src/core/contexts/win32windowcontext.cpp index 538188d..c5c1cbd 100644 --- a/src/core/contexts/win32windowcontext.cpp +++ b/src/core/contexts/win32windowcontext.cpp @@ -525,11 +525,7 @@ } } - bool Win32WindowContext::setup(QObject *host, WindowItemDelegate *delegate) { - if (!AbstractWindowContext::setup(host, delegate)) { - return false; - } - + bool Win32WindowContext::setupHost() { // Install window hook auto winId = m_windowHandle->winId(); auto hWnd = reinterpret_cast<HWND>(winId); -- Gitblit v1.9.1