From 56c4ef0a85abb92a64bb90d86526f2218835e282 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周一, 18 12月 2023 14:21:39 +0800
Subject: [PATCH] optimize mac context a bit

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

diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h
index 9303938..c8c7ed4 100644
--- a/src/core/contexts/win32windowcontext_p.h
+++ b/src/core/contexts/win32windowcontext_p.h
@@ -30,7 +30,7 @@
         int borderThickness() const;
 
     protected:
-        bool setupHost() override;
+        void winIdChanged(QWindow *oldWindow) override;
 
     public:
         bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result);

--
Gitblit v1.9.1