From 430d245bb94c634047e7b65232eb3e50e2b6e49a Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 21 12æ 2023 22:00:37 +0800 Subject: [PATCH] add more attrib --- src/stylesupport/styleagent_mac.mm | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/stylesupport/styleagent_mac.mm b/src/stylesupport/styleagent_mac.mm index a4dbe86..64cdf16 100644 --- a/src/stylesupport/styleagent_mac.mm +++ b/src/stylesupport/styleagent_mac.mm @@ -7,9 +7,14 @@ void StyleAgentPrivate::setupSystemThemeHook() { } + void StyleAgentPrivate::removeSystemThemeHook() { + } + bool StyleAgentPrivate::updateWindowAttribute(QWindow *window, const QString &key, const QVariant &attribute, const QVariant &oldAttribute) { + Q_UNUSED(oldAttribute) + if (key == QStringLiteral("no-system-buttons")) { if (attribute.toBool()) { // TODO: set off -- Gitblit v1.9.1