From 677e7a737897e8c2a60564085821545810369e02 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 11 12月 2023 22:43:14 +0800
Subject: [PATCH] Widgets: Add window state handler

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

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index 631c7e2..9baa24c 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -47,7 +47,7 @@
     }
 
     QString QtWindowContext::key() const {
-        return "qt";
+        return QStringLiteral("qt");
     }
 
     void QtWindowContext::virtual_hook(int id, void *data) {

--
Gitblit v1.9.1