From e9ce49b601b412050e9709a3474e51950dccd5a9 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周一, 11 12月 2023 14:56:22 +0800
Subject: [PATCH] add empty qml demo

---
 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