From bdbe25895fefbbcf7a940d98695b56999cd1ae9e Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 07 12æ 2023 17:05:12 +0800 Subject: [PATCH] Add override context factories --- 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