From 2452f5958272d50981ab89ff843d2fa715d33957 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 14 12æ 2023 21:23:25 +0800 Subject: [PATCH] add macos titlebar --- src/widgets/widgetwindowagent_p.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/widgets/widgetwindowagent_p.h b/src/widgets/widgetwindowagent_p.h index 5b60770..36bb202 100644 --- a/src/widgets/widgetwindowagent_p.h +++ b/src/widgets/widgetwindowagent_p.h @@ -19,9 +19,11 @@ #ifdef Q_OS_WINDOWS void setupWindows10BorderWorkaround(); +#elif defined(Q_OS_MACOS) + void setupMacOSTitleBar(QWidget *titleBar); #endif }; } -#endif // WIDGETWINDOWAGENTPRIVATE_H \ No newline at end of file +#endif // WIDGETWINDOWAGENTPRIVATE_H -- Gitblit v1.9.1