From eb266da10552eeefcb0f7dfe514d4385aec563f8 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 03 12月 2023 05:05:23 +0800
Subject: [PATCH] Add windows context implementation

---
 src/core/windowitemdelegate.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/core/windowitemdelegate.h b/src/core/windowitemdelegate.h
index b24070b..fe9a252 100644
--- a/src/core/windowitemdelegate.h
+++ b/src/core/windowitemdelegate.h
@@ -10,6 +10,7 @@
 
     class WindowItemDelegate {
     public:
+        WindowItemDelegate() = default;
         virtual ~WindowItemDelegate() = default;
 
     public:
@@ -17,6 +18,9 @@
 
         virtual bool isEnabled(QObject *obj) const = 0;
         virtual bool isVisible(QObject *obj) const = 0;
+
+    private:
+        Q_DISABLE_COPY_MOVE(WindowItemDelegate)
     };
 
 }

--
Gitblit v1.9.1