From b2471667e1377df998ec50a6f952f3d164e73e3d Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 27 12月 2023 04:21:30 +0800 Subject: [PATCH] Add style option back --- src/widgets/widgetwindowagent.h | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h index 94af904..85eb3be 100644 --- a/src/widgets/widgetwindowagent.h +++ b/src/widgets/widgetwindowagent.h @@ -35,18 +35,12 @@ void setHitTestVisible(const QWidget *w, bool visible = true); Q_SIGNALS: - void titleBarWidgetChanged(const QWidget *w); + void titleBarChanged(const QWidget *w); void systemButtonChanged(SystemButton button, const QWidget *w); protected: WidgetWindowAgent(WidgetWindowAgentPrivate &d, QObject *parent = nullptr); }; - - inline WidgetWindowAgent *QWK_Initialize(QWidget *w) { - auto agent = new WidgetWindowAgent(w); - agent->setup(w); - return agent; - } } -- Gitblit v1.9.1