From c3c6647e7888b7dbe9d9d22fb77bf08104a3653c Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 11 12月 2023 02:14:32 +0800
Subject: [PATCH] refactor

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

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index a9740f1..0eaf7c8 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -40,19 +40,14 @@
 #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);
     }
 
 }
\ No newline at end of file

--
Gitblit v1.9.1