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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h index 2d73ef1..0b1c0e9 100644 --- a/src/widgets/widgetwindowagent.h +++ b/src/widgets/widgetwindowagent.h @@ -43,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