32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 3eec02dc69346fc452aeb1ee2dc29803848500e7 Mon Sep 17 00:00:00 2001
|
|
From: liuxinhao <liuxinhao@kylinsec.com.cn>
|
|
Date: Sun, 25 Jun 2023 19:07:19 +0800
|
|
Subject: [PATCH] fix(icon): Update the title bar icon when the window state
|
|
changes
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 窗口状态改变时,更新标题栏图标
|
|
|
|
Closes #I7FTM3
|
|
---
|
|
.../kiran-titlebar-window/kiran-titlebar-window-private.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/widgets/kiran-titlebar-window/kiran-titlebar-window-private.cpp b/src/widgets/kiran-titlebar-window/kiran-titlebar-window-private.cpp
|
|
index 18a2aa3..8252d97 100644
|
|
--- a/src/widgets/kiran-titlebar-window/kiran-titlebar-window-private.cpp
|
|
+++ b/src/widgets/kiran-titlebar-window/kiran-titlebar-window-private.cpp
|
|
@@ -585,6 +585,7 @@ bool KiranTitlebarWindowPrivate::eventFilter(QObject *obj, QEvent *event)
|
|
{
|
|
m_frame->setRadius(radius);
|
|
}
|
|
+ updateTitlebarButtonIcon();
|
|
break;
|
|
default:
|
|
break;
|
|
--
|
|
2.33.0
|
|
|