From 54623b054721d42db721d0ba7429b6f8878fc1a5 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 26 12月 2023 02:44:18 +0800
Subject: [PATCH] minor tweaks

---
 src/core/contexts/win32windowcontext_p.h |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h
index d5c6d13..6a01e16 100644
--- a/src/core/contexts/win32windowcontext_p.h
+++ b/src/core/contexts/win32windowcontext_p.h
@@ -17,8 +17,6 @@
 
     class Win32WindowContext : public AbstractWindowContext {
         Q_OBJECT
-        Q_PROPERTY(bool needBorderPainter READ needBorderPainter FINAL)
-        Q_PROPERTY(int borderThickness READ borderThickness FINAL)
     public:
         Win32WindowContext();
         ~Win32WindowContext() override;
@@ -35,8 +33,7 @@
         QString key() const override;
         void virtual_hook(int id, void *data) override;
 
-        bool needBorderPainter() const;
-        int borderThickness() const;
+        QVariant windowAttribute(const QString &key) const override;
 
     protected:
         void winIdChanged() override;

--
Gitblit v1.9.1