From 86403b4e99f901f687050ce9a91a8e539331cebb Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 摹曛, 07 12月 2023 17:39:55 +0800
Subject: [PATCH] remove not needed result

---
 src/core/contexts/qtwindowcontext.cpp |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index a9740f1..5fa7787 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -40,19 +40,18 @@
 #endif
     }
 
-    QtWindowContext::QtWindowContext(QWindow *window, WindowItemDelegate *delegate)
-        : AbstractWindowContext(window, delegate) {
+    QtWindowContext::QtWindowContext() : AbstractWindowContext() {
     }
 
     QtWindowContext::~QtWindowContext() {
     }
 
-    bool QtWindowContext::setup() {
+    bool QtWindowContext::setupHost() {
         return false;
     }
 
-    bool QtWindowContext::eventFilter(QObject *obj, QEvent *event) {
-        return AbstractWindowContext::eventFilter(obj, event);
+    bool QtWindowContext::hostEventFilter(QEvent *event) {
+        return false;
     }
 
 }
\ No newline at end of file

--
Gitblit v1.9.1