From 3871bfc5d3aff45e498fa2944c27e6eb5d146c8e Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周三, 20 12月 2023 19:56:32 +0800 Subject: [PATCH] Add mac hot-switch implementations --- src/quick/quickwindowagent_p.h | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/quick/quickwindowagent_p.h b/src/quick/quickwindowagent_p.h index 243f534..15d8b58 100644 --- a/src/quick/quickwindowagent_p.h +++ b/src/quick/quickwindowagent_p.h @@ -1,6 +1,15 @@ #ifndef QUICKWINDOWAGENTPRIVATE_H #define QUICKWINDOWAGENTPRIVATE_H +// +// W A R N I N G !!! +// ----------------- +// +// This file is not part of the QWindowKit API. It is used purely as an +// implementation detail. This header file may change from version to +// version without notice, or may even be removed. +// + #include <QWKCore/private/windowagentbase_p.h> #include <QWKQuick/quickwindowagent.h> @@ -16,6 +25,10 @@ // Host QQuickWindow *hostWindow{}; + +#ifdef Q_OS_WINDOWS + void setupWindows10BorderWorkaround(); +#endif }; } -- Gitblit v1.9.1