From 1740ed5e0e765ebd8676733243eb3eaa81f95df1 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 26 12月 2023 17:32:13 +0800 Subject: [PATCH] Fix window visibility inconsistency --- src/core/windowitemdelegate_p.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/core/windowitemdelegate_p.h b/src/core/windowitemdelegate_p.h index 8418c59..3d4e4a3 100644 --- a/src/core/windowitemdelegate_p.h +++ b/src/core/windowitemdelegate_p.h @@ -43,6 +43,8 @@ virtual void setCursorShape(QObject *host, Qt::CursorShape shape) const = 0; virtual void restoreCursorShape(QObject *host) const = 0; virtual void setWindowFlags(QObject *host, Qt::WindowFlags flags) const = 0; + virtual void setWindowVisible(QObject *host, bool visible) const = 0; + virtual void bringWindowToTop(QObject *host) const = 0; private: Q_DISABLE_COPY(WindowItemDelegate) -- Gitblit v1.9.1