From 364f4aec17e88adb5a0f3faad28176fc7cb89c74 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 14 12æ 2023 20:06:49 +0800 Subject: [PATCH] macos cleanup --- 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