Sine Striker
2023-12-13 e20d8ebf6eb5a5a9fafc2eaf3b04d934e5089766
src/quick/quickitemdelegate.cpp
@@ -10,7 +10,7 @@
    QuickItemDelegate::~QuickItemDelegate() = default;
    QWindow *QuickItemDelegate::window(const QObject *obj) const {
    QWindow *QuickItemDelegate::window(QObject *obj) const {
        return static_cast<const QQuickItem *>(obj)->window();
    }
@@ -29,8 +29,8 @@
        return QRectF(originPoint, size).toRect();
    }
    QWindow *QuickItemDelegate::hostWindow(const QObject *host) const {
        return static_cast<QQuickWindow *>(const_cast<QObject *>(host));
    QWindow *QuickItemDelegate::hostWindow(QObject *host) const {
        return static_cast<QQuickWindow *>(host);
    }
    bool QuickItemDelegate::isHostSizeFixed(const QObject *host) const {
@@ -39,7 +39,7 @@
    }
    bool QuickItemDelegate::isWindowActive(const QObject *host) const {
        return static_cast<QQuickWindow *>(const_cast<QObject *>(host))->isActive();
        return static_cast<const QQuickWindow *>(host)->isActive();
    }
}