From 46285db399f75154ad6c451e12f2cae2e59ace25 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 24 12月 2023 23:52:03 +0800 Subject: [PATCH] Use brilliant workaround to show Windows 10 top border --- src/widgets/widgetwindowagent.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h index 20347a9..1136812 100644 --- a/src/widgets/widgetwindowagent.h +++ b/src/widgets/widgetwindowagent.h @@ -26,6 +26,12 @@ QWidget *systemButton(SystemButton button) const; void setSystemButton(SystemButton button, QWidget *w); + // Not implement, don't use now +#ifdef Q_OS_MAC + QWidget *systemButtonArea() const; + void setSystemButtonArea(QWidget *widget); +#endif + bool isHitTestVisible(const QWidget *w) const; void setHitTestVisible(const QWidget *w, bool visible = true); -- Gitblit v1.9.1