From 2f59395b8183b1de62bd0ba83685298d9a7e3271 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 21 12æ 2023 19:56:42 +0800 Subject: [PATCH] minor tweaks --- 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