From 59690b8ab4f3e4c2cea0467f40e858080943dd62 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 14 12æ 2023 20:45:33 +0800 Subject: [PATCH] tweak --- src/core/contexts/qtwindowcontext.cpp | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index 631c7e2..ee5d27d 100644 --- a/src/core/contexts/qtwindowcontext.cpp +++ b/src/core/contexts/qtwindowcontext.cpp @@ -43,18 +43,17 @@ QtWindowContext::QtWindowContext() : AbstractWindowContext() { } - QtWindowContext::~QtWindowContext() { - } + QtWindowContext::~QtWindowContext() = default; 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