From f14f27f41385fd8593457413de2cf5a9c5c357e9 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 13 12月 2023 18:34:14 +0800
Subject: [PATCH] Change to Apache 2.0 License

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

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index 631c7e2..ea2bba5 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -47,14 +47,14 @@
     }
 
     QString QtWindowContext::key() const {
-        return "qt";
+        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