From f27ce8d30ff3aac11485426fe9bee83981551623 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 13 12月 2023 13:53:43 +0800
Subject: [PATCH] minor tweaks

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

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index 5fa7787..9baa24c 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -46,11 +46,14 @@
     QtWindowContext::~QtWindowContext() {
     }
 
-    bool QtWindowContext::setupHost() {
-        return false;
+    QString QtWindowContext::key() const {
+        return QStringLiteral("qt");
     }
 
-    bool QtWindowContext::hostEventFilter(QEvent *event) {
+    void QtWindowContext::virtual_hook(int id, void *data) {
+    }
+
+    bool QtWindowContext::setupHost() {
         return false;
     }
 

--
Gitblit v1.9.1