From 5c04046acae6e61280fba7fef31401edd7c36087 Mon Sep 17 00:00:00 2001 From: Dylan Liu <312902918@qq.com> Date: 周五, 23 5月 2025 16:04:20 +0800 Subject: [PATCH] QWKCore/cocoawindowcontext: Use typeId() instead of type() in Qt 6.0+. (#181) --- src/core/style/styleagent.cpp | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/core/style/styleagent.cpp b/src/core/style/styleagent.cpp index 11d1adc..4b88447 100644 --- a/src/core/style/styleagent.cpp +++ b/src/core/style/styleagent.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) +// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) +// SPDX-License-Identifier: Apache-2.0 + #include "styleagent.h" #include "styleagent_p.h" @@ -8,6 +12,10 @@ /*! \class StyleAgent \brief StyleAgent provides some features related to system theme. + + Qt6.6 started to support system theme detection, this class is intended as an auxiliary + support for lower versions of Qt. If your Qt already supports it, it is recommended that + you don't include this class in your build system. */ StyleAgentPrivate::StyleAgentPrivate() { -- Gitblit v1.9.1