From 2a1e707b1cf530b00a5c0f3766466f10bd617619 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周三, 13 12月 2023 20:37:56 +0800 Subject: [PATCH] add WIP mac imp --- src/core/windowitemdelegate_p.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/windowitemdelegate_p.h b/src/core/windowitemdelegate_p.h index 584e3ff..da18578 100644 --- a/src/core/windowitemdelegate_p.h +++ b/src/core/windowitemdelegate_p.h @@ -16,13 +16,13 @@ public: // Item property query - virtual QWindow *window(const QObject *obj) const = 0; + virtual QWindow *window(QObject *obj) const = 0; virtual bool isEnabled(const QObject *obj) const = 0; virtual bool isVisible(const QObject *obj) const = 0; virtual QRect mapGeometryToScene(const QObject *obj) const = 0; // Host property query - virtual QWindow *hostWindow(const QObject *host) const = 0; + virtual QWindow *hostWindow(QObject *host) const = 0; virtual bool isHostSizeFixed(const QObject *host) const = 0; virtual bool isWindowActive(const QObject *host) const = 0; -- Gitblit v1.9.1