From eb266da10552eeefcb0f7dfe514d4385aec563f8 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 03 12月 2023 05:05:23 +0800 Subject: [PATCH] Add windows context implementation --- src/widgets/widgetwindowagent.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/widgets/widgetwindowagent.cpp b/src/widgets/widgetwindowagent.cpp index f6255c3..59ee504 100644 --- a/src/widgets/widgetwindowagent.cpp +++ b/src/widgets/widgetwindowagent.cpp @@ -33,7 +33,7 @@ } std::ignore = w->winId(); // Make sure the window handle is created - if (!d->setup(w->windowHandle(), std::make_shared<WidgetItemDelegate>())) { + if (!d->setup(w->windowHandle(), new WidgetItemDelegate())) { return false; } d->host = w; -- Gitblit v1.9.1