From 44c08f3cc456155b960ca5a115df93109d2202ce Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 13 12月 2023 23:22:25 +0800 Subject: [PATCH] Remove event observer --- src/widgets/widgetwindowagent_p.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/widgets/widgetwindowagent_p.h b/src/widgets/widgetwindowagent_p.h index 758250e..5b60770 100644 --- a/src/widgets/widgetwindowagent_p.h +++ b/src/widgets/widgetwindowagent_p.h @@ -17,7 +17,9 @@ // Host QWidget *hostWidget{}; - std::unique_ptr<QObject> paintFilter; +#ifdef Q_OS_WINDOWS + void setupWindows10BorderWorkaround(); +#endif }; } -- Gitblit v1.9.1