From 718590bf4dec0e8d9e7a75af98568f5eff5f8f9d Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 19 12月 2023 14:45:36 +0800 Subject: [PATCH] Remove stylesupport --- src/quick/quickwindowagent.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/quick/quickwindowagent.h b/src/quick/quickwindowagent.h index 4d6160b..95220c0 100644 --- a/src/quick/quickwindowagent.h +++ b/src/quick/quickwindowagent.h @@ -38,6 +38,12 @@ QuickWindowAgent(QuickWindowAgentPrivate &d, QObject *parent = nullptr); }; + inline QuickWindowAgent *setupQuickWindow(QQuickWindow *window) { + auto agent = new QuickWindowAgent(window); + agent->setup(window); + return agent; + } + } #endif // QUICKWINDOWAGENT_H \ No newline at end of file -- Gitblit v1.9.1