From 58ef035603b8e3bf9299b4bddcdebcc653ea8810 Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 周五, 29 12月 2023 11:50:33 +0800
Subject: [PATCH] Window bar support I18N

---
 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 d5e2c11..63d02eb 100644
--- a/src/quick/quickitemdelegate.cpp
+++ b/src/quick/quickitemdelegate.cpp
@@ -68,6 +68,10 @@
         static_cast<QQuickWindow *>(host)->setFlags(flags);
     }
 
+    void QuickItemDelegate::setWindowVisible(QObject *host, bool visible) const {
+        static_cast<QQuickWindow *>(host)->setVisible(visible);
+    }
+
     void QuickItemDelegate::bringWindowToTop(QObject *host) const {
         static_cast<QQuickWindow *>(host)->raise();
     }

--
Gitblit v1.9.1