From ca6ba7d7aa547b4e0c8d86fb9e00f25374a181db Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 14 12æ 2023 21:26:31 +0800 Subject: [PATCH] fix qt5 build --- src/core/contexts/qtwindowcontext.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index 9baa24c..ee5d27d 100644 --- a/src/core/contexts/qtwindowcontext.cpp +++ b/src/core/contexts/qtwindowcontext.cpp @@ -43,8 +43,7 @@ QtWindowContext::QtWindowContext() : AbstractWindowContext() { } - QtWindowContext::~QtWindowContext() { - } + QtWindowContext::~QtWindowContext() = default; QString QtWindowContext::key() const { return QStringLiteral("qt"); @@ -54,7 +53,7 @@ } bool QtWindowContext::setupHost() { - return false; + return true; } } \ No newline at end of file -- Gitblit v1.9.1