From 327055934009dc416be6234db8e4d26fab81fb80 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 摹曛, 21 12月 2023 23:21:28 +0800
Subject: [PATCH] Merge pull request #8 from stdware/stylesupport

---
 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