From 8209cdfb1d85a40cc770f854d773c3a10f5ab576 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 20 12月 2023 17:32:57 +0800 Subject: [PATCH] Add hot-switch to agent --- src/widgets/widgetwindowagent.h | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h index 9938b1a..ea20025 100644 --- a/src/widgets/widgetwindowagent.h +++ b/src/widgets/widgetwindowagent.h @@ -42,12 +42,6 @@ WidgetWindowAgent(WidgetWindowAgentPrivate &d, QObject *parent = nullptr); }; - inline WidgetWindowAgent *setupWidgetWindow(QWidget *w) { - auto agent = new WidgetWindowAgent(w); - agent->setup(w); - return agent; - } - } #endif // WIDGETWINDOWAGENT_H \ No newline at end of file -- Gitblit v1.9.1