From e18723d66cf470720c29a9d2848150ea1cbe5450 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 14 12æ 2023 04:49:35 +0800 Subject: [PATCH] Add example resources --- src/widgets/widgetwindowagent_p.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/widgets/widgetwindowagent_p.h b/src/widgets/widgetwindowagent_p.h index 225f567..5b60770 100644 --- a/src/widgets/widgetwindowagent_p.h +++ b/src/widgets/widgetwindowagent_p.h @@ -1,12 +1,12 @@ #ifndef WIDGETWINDOWAGENTPRIVATE_H #define WIDGETWINDOWAGENTPRIVATE_H -#include <QWKCore/private/corewindowagent_p.h> +#include <QWKCore/private/windowagentbase_p.h> #include <QWKWidgets/widgetwindowagent.h> namespace QWK { - class WidgetWindowAgentPrivate : public CoreWindowAgentPrivate { + class WidgetWindowAgentPrivate : public WindowAgentBasePrivate { Q_DECLARE_PUBLIC(WidgetWindowAgent) public: WidgetWindowAgentPrivate(); @@ -16,6 +16,10 @@ // Host QWidget *hostWidget{}; + +#ifdef Q_OS_WINDOWS + void setupWindows10BorderWorkaround(); +#endif }; } -- Gitblit v1.9.1