From d5cc7b515e8897c94815ebb2d8fe6da675846149 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周三, 06 12月 2023 17:00:21 +0800
Subject: [PATCH] format

---
 src/core/corewindowagent.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/core/corewindowagent.h b/src/core/corewindowagent.h
index 831f8e1..9cfae3c 100644
--- a/src/core/corewindowagent.h
+++ b/src/core/corewindowagent.h
@@ -13,7 +13,7 @@
         Q_OBJECT
         Q_DECLARE_PRIVATE(CoreWindowAgent)
     public:
-        ~CoreWindowAgent();
+        ~CoreWindowAgent() override;
 
         enum SystemButton {
             Unknown,
@@ -34,9 +34,9 @@
         void raise();
 
     protected:
-        CoreWindowAgent(CoreWindowAgentPrivate &d, QObject *parent = nullptr);
+        explicit CoreWindowAgent(CoreWindowAgentPrivate &d, QObject *parent = nullptr);
 
-        QScopedPointer<CoreWindowAgentPrivate> d_ptr;
+        const std::unique_ptr<CoreWindowAgentPrivate> d_ptr;
     };
 
 }

--
Gitblit v1.9.1