From db00428f146a7daf2c8b5c4de6c8c1e317f950a4 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 10 12月 2023 23:46:31 +0800
Subject: [PATCH] Fix macro definition mistake

---
 src/widgets/widgetitemdelegate_p.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/widgets/widgetitemdelegate_p.h b/src/widgets/widgetitemdelegate_p.h
index 11d60fd..1056f35 100644
--- a/src/widgets/widgetitemdelegate_p.h
+++ b/src/widgets/widgetitemdelegate_p.h
@@ -15,15 +15,15 @@
         ~WidgetItemDelegate() override;
 
     public:
-        QWindow *window(QObject *obj) const override;
-        bool isEnabled(QObject *obj) const override;
-        bool isVisible(QObject *obj) const override;
+        QWindow *window(const QObject *obj) const override;
+        bool isEnabled(const QObject *obj) const override;
+        bool isVisible(const QObject *obj) const override;
         QRect mapGeometryToScene(const QObject *obj) const override;
 
-        QWindow * hostWindow(QObject *host) const override;
-        bool isHostSizeFixed(QObject *host) const override;
+        QWindow * hostWindow(const QObject *host) const override;
+        bool isHostSizeFixed(const QObject *host) const override;
 
-        bool resetQtGrabbedControl() const override;
+        void resetQtGrabbedControl() const override;
     };
 
 }

--
Gitblit v1.9.1