From b1cc4e7de641a9e6ef866744d7775d45813bad8d Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 11 12月 2023 23:47:11 +0800
Subject: [PATCH] clean codes

---
 src/core/contexts/abstractwindowcontext_p.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/core/contexts/abstractwindowcontext_p.h b/src/core/contexts/abstractwindowcontext_p.h
index 3c04073..967d002 100644
--- a/src/core/contexts/abstractwindowcontext_p.h
+++ b/src/core/contexts/abstractwindowcontext_p.h
@@ -47,8 +47,9 @@
             CentralizeHook = 1,
             ShowSystemMenuHook,
             NeedsDrawBordersHook,
+            BorderThicknessHook,
+            BorderColorsHook,
             DrawBordersHook,
-            QueryBorderThicknessHook
         };
         virtual void virtual_hook(int id, void *data);
 
@@ -56,9 +57,9 @@
         virtual bool setupHost() = 0;
 
     protected:
-        QObject *m_host;
+        QObject *m_host{};
         std::unique_ptr<WindowItemDelegate> m_delegate;
-        QWindow *m_windowHandle;
+        QWindow *m_windowHandle{};
 
         QSet<const QObject *> m_hitTestVisibleItems;
         QList<QRect> m_hitTestVisibleRects;

--
Gitblit v1.9.1