From 51039917996909284fbc2d776a9b8f71fe5e6f9a Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周六, 02 12月 2023 17:43:17 +0800
Subject: [PATCH] wip

---
 src/widgets/widgetwindowagent.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h
index 81e454c..7c627c2 100644
--- a/src/widgets/widgetwindowagent.h
+++ b/src/widgets/widgetwindowagent.h
@@ -12,10 +12,12 @@
 
     class QWK_WIDGETS_EXPORT WidgetWindowAgent : public CoreWindowAgent {
         Q_OBJECT
+        Q_DISABLE_COPY(WidgetWindowAgent)
         Q_DECLARE_PRIVATE(WidgetWindowAgent)
+
     public:
         explicit WidgetWindowAgent(QObject *parent = nullptr);
-        ~WidgetWindowAgent();
+        ~WidgetWindowAgent() override;
 
     public:
         bool setup(QWidget *w);

--
Gitblit v1.9.1