From 5078f898257a53295167f22c67005ad1b30d4bf8 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 12 12月 2023 02:53:57 +0800
Subject: [PATCH] Tested MinGW 13.2.0

---
 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 7696a4a..8165ff8 100644
--- a/src/quick/quickitemdelegate.cpp
+++ b/src/quick/quickitemdelegate.cpp
@@ -38,4 +38,8 @@
         return false;
     }
 
+    bool QuickItemDelegate::isWindowActive(const QObject *host) const {
+        return static_cast<QQuickWindow *>(const_cast<QObject *>(host))->isActive();
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.9.1