From 9fc3c91388ae6f139813fbf700efc261b430b1d6 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周一, 11 12月 2023 14:58:06 +0800
Subject: [PATCH] Merge pull request #1 from stdware/qml

---
 src/quick/quickitemdelegate_p.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/quick/quickitemdelegate_p.h b/src/quick/quickitemdelegate_p.h
index b8bd84d..a63aa71 100644
--- a/src/quick/quickitemdelegate_p.h
+++ b/src/quick/quickitemdelegate_p.h
@@ -15,13 +15,13 @@
         ~QuickItemDelegate() 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;
     };
 
 }

--
Gitblit v1.9.1