From bdc57c6ec9b08f74ca65a06b8496fbaa3268c5fd Mon Sep 17 00:00:00 2001
From: Dylan Liu <mentalflow@ourdocs.cn>
Date: 周六, 04 5月 2024 20:51:20 +0800
Subject: [PATCH] Fix macOS title bar buttons not displaying properly.

---
 src/widgets/widgetwindowagent.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h
index 64f5adc..0b1c0e9 100644
--- a/src/widgets/widgetwindowagent.h
+++ b/src/widgets/widgetwindowagent.h
@@ -1,4 +1,5 @@
-// Copyright (C) 2023-2024 Stdware Collections
+// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware)
+// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao)
 // SPDX-License-Identifier: Apache-2.0
 
 #ifndef WIDGETWINDOWAGENT_H
@@ -42,8 +43,8 @@
         void setHitTestVisible(const QWidget *w, bool visible = true);
 
     Q_SIGNALS:
-        void titleBarChanged(const QWidget *w);
-        void systemButtonChanged(SystemButton button, const QWidget *w);
+        void titleBarChanged(QWidget *w);
+        void systemButtonChanged(SystemButton button, QWidget *w);
 
     protected:
         WidgetWindowAgent(WidgetWindowAgentPrivate &d, QObject *parent = nullptr);

--
Gitblit v1.9.1