From 39ba3049f01b30c9a99ad8bb8cd94e117d1c3c65 Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 摹曛, 28 12月 2023 20:54:27 +0800
Subject: [PATCH] Fix mistakes of quick module

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