From 7aabc22e0b6841a46eb449398e4e8910352008cc Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周六, 09 12月 2023 15:10:23 +0800 Subject: [PATCH] Fix windows custom margins key mistake --- src/widgets/widgetwindowagent.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/widgets/widgetwindowagent.cpp b/src/widgets/widgetwindowagent.cpp index e7068fb..b183951 100644 --- a/src/widgets/widgetwindowagent.cpp +++ b/src/widgets/widgetwindowagent.cpp @@ -2,6 +2,7 @@ #include "widgetwindowagent_p.h" #include "widgetitemdelegate_p.h" +#include "widgetwindowcontext_p.h" namespace QWK { @@ -14,6 +15,10 @@ void WidgetWindowAgentPrivate::init() { } + AbstractWindowContext *WidgetWindowAgentPrivate::createContext() const { + return new WidgetWindowContext(); + } + WidgetWindowAgent::WidgetWindowAgent(QObject *parent) : WidgetWindowAgent(*new WidgetWindowAgentPrivate(), parent) { } -- Gitblit v1.9.1