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, 1 insertions(+), 8 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index 4f4764e..0eaf7c8 100644 --- a/src/core/contexts/qtwindowcontext.cpp +++ b/src/core/contexts/qtwindowcontext.cpp @@ -46,15 +46,8 @@ QtWindowContext::~QtWindowContext() { } - bool QtWindowContext::setup(QObject *host, WindowItemDelegate *delegate) { - if (!AbstractWindowContext::setup(host, delegate)) { - return false; - } + 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