From 4fc35bd506d1fb9d41324d7dd33047c491f2979f Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 08 5月 2024 11:00:38 +0800
Subject: [PATCH] Add mouse hook when exec menu

---
 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