From 2d223770ee33ddf7d93d83bc2cb538bfd66d38d9 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 08 5月 2024 11:30:55 +0800 Subject: [PATCH] update --- src/quick/quickitemdelegate.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/quick/quickitemdelegate.cpp b/src/quick/quickitemdelegate.cpp index 3a0a3dd..8fd14e4 100644 --- a/src/quick/quickitemdelegate.cpp +++ b/src/quick/quickitemdelegate.cpp @@ -80,6 +80,10 @@ static_cast<QQuickWindow *>(host)->setVisible(visible); } + void QuickItemDelegate::setGeometry(QObject *host, const QRect &rect) { + static_cast<QQuickWindow *>(host)->setGeometry(rect); + } + void QuickItemDelegate::bringWindowToTop(QObject *host) const { static_cast<QQuickWindow *>(host)->raise(); } -- Gitblit v1.9.1