From e18723d66cf470720c29a9d2848150ea1cbe5450 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 摹曛, 14 12月 2023 04:49:35 +0800
Subject: [PATCH] Add example resources

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

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index 0eaf7c8..ea2bba5 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -46,8 +46,15 @@
     QtWindowContext::~QtWindowContext() {
     }
 
+    QString QtWindowContext::key() const {
+        return QStringLiteral("qt");
+    }
+
+    void QtWindowContext::virtual_hook(int id, void *data) {
+    }
+
     bool QtWindowContext::setupHost() {
-        return false;
+        return true;
     }
 
 }
\ No newline at end of file

--
Gitblit v1.9.1