From abdad66bae077da6c3480db457beb47df5eda813 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周六, 16 12月 2023 19:27:16 +0800 Subject: [PATCH] Fix mac window mistakes --- src/core/contexts/qtwindowcontext.cpp | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index 6887cfd..edf73f3 100644 --- a/src/core/contexts/qtwindowcontext.cpp +++ b/src/core/contexts/qtwindowcontext.cpp @@ -74,8 +74,6 @@ } class WindowEventFilter : public QObject { - Q_OBJECT - public: explicit WindowEventFilter(AbstractWindowContext *context, QObject *parent = nullptr); ~WindowEventFilter() override; @@ -201,6 +199,4 @@ return true; } -} - -#include "qtwindowcontext.moc" +} \ No newline at end of file -- Gitblit v1.9.1