From 7aabc22e0b6841a46eb449398e4e8910352008cc Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周六, 09 12月 2023 15:10:23 +0800 Subject: [PATCH] Fix windows custom margins key mistake --- src/core/contexts/abstractwindowcontext.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/core/contexts/abstractwindowcontext.cpp b/src/core/contexts/abstractwindowcontext.cpp index c7a5c85..c33f98c 100644 --- a/src/core/contexts/abstractwindowcontext.cpp +++ b/src/core/contexts/abstractwindowcontext.cpp @@ -50,7 +50,7 @@ // Install specific event filter host->installEventFilter(new EventFilterForwarder( [](QEvent *event, void *user) { - return reinterpret_cast<AbstractWindowContext *>(user)->hostEventFilter(event); + return static_cast<AbstractWindowContext *>(user)->hostEventFilter(event); }, this, this)); -- Gitblit v1.9.1