From 6dea61fb21756cb43ec1f065a4395410e60570e8 Mon Sep 17 00:00:00 2001 From: zhuzichu <zhuzichu520@gmail.com> Date: 周五, 22 12月 2023 20:02:06 +0800 Subject: [PATCH] fix bug windows sometimes don't work in Win7 (#9) --- src/core/contexts/win32windowcontext_p.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h index 698958f..d5c6d13 100644 --- a/src/core/contexts/win32windowcontext_p.h +++ b/src/core/contexts/win32windowcontext_p.h @@ -39,7 +39,9 @@ int borderThickness() const; protected: - void winIdChanged(QWindow *oldWindow, bool isDestroyed) override; + void winIdChanged() override; + bool windowAttributeChanged(const QString &key, const QVariant &attribute, + const QVariant &oldAttribute) override; public: bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result); -- Gitblit v1.9.1