From 88b5b56b6a67d93208eae3980af2f30da09dd8ae Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周三, 27 12月 2023 01:10:59 +0800 Subject: [PATCH] Add notification observer on Mac --- src/widgets/widgetwindowagent_win.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/widgets/widgetwindowagent_win.cpp b/src/widgets/widgetwindowagent_win.cpp index 386a6cd..7172db5 100644 --- a/src/widgets/widgetwindowagent_win.cpp +++ b/src/widgets/widgetwindowagent_win.cpp @@ -8,7 +8,7 @@ namespace QWK { -#if QWINDOWKIT_CONFIG(ENABLE_WINDOWS_SYSTEM_BORDER) +#if QWINDOWKIT_CONFIG(ENABLE_WINDOWS_SYSTEM_BORDERS) // https://github.com/qt/qtbase/blob/e26a87f1ecc40bc8c6aa5b889fce67410a57a702/src/plugins/platforms/windows/qwindowsbackingstore.cpp#L42 // In QtWidgets applications, when repainting happens, QPA at the last calls // QWindowsBackingStore::flush() to draw the contents of the buffer to the screen, we need to -- Gitblit v1.9.1