From 5a0e5a9261c251dba54afb8cc0b6b32ae9d95510 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周二, 12 12月 2023 19:50:34 +0800
Subject: [PATCH] add theme win32 message

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

diff --git a/src/core/contexts/abstractwindowcontext_p.h b/src/core/contexts/abstractwindowcontext_p.h
index 3c04073..275caa9 100644
--- a/src/core/contexts/abstractwindowcontext_p.h
+++ b/src/core/contexts/abstractwindowcontext_p.h
@@ -46,9 +46,7 @@
         enum WindowContextHook {
             CentralizeHook = 1,
             ShowSystemMenuHook,
-            NeedsDrawBordersHook,
-            DrawBordersHook,
-            QueryBorderThicknessHook
+            DefaultColorsHook,
         };
         virtual void virtual_hook(int id, void *data);
 
@@ -56,9 +54,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