fix(icon): Update the title bar icon when the window state changes
- 窗口状态改变时,更新标题栏图标 Closes #I7FTM3
This commit is contained in:
parent
63cb4bd0d2
commit
307308dba6
@ -0,0 +1,31 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,16 +1,17 @@
|
|||||||
Name: kiran-widgets-qt5
|
Name: kiran-widgets-qt5
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Encapsulated QT Widget
|
Summary: Encapsulated QT Widget
|
||||||
Summary(zh_CN): 封装的Qt小部件
|
Summary(zh_CN): 封装的Qt小部件
|
||||||
|
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0001: 0001-feat-KiranLabel-KiranPasswdEdit-new-control-KiranLab.patch
|
Patch0001: 0001-feat-KiranLabel-KiranPasswdEdit-new-control-KiranLab.patch
|
||||||
Patch0002: 0002-fix-KiranSiderbarWidget-If-the-text-is-too-wide-and-.patch
|
Patch0002: 0002-fix-KiranSiderbarWidget-If-the-text-is-too-wide-and-.patch
|
||||||
Patch0003: 0003-fix-KiranTitlebarWindow-Fix-when-zoomed-twice_GTK_FR.patch
|
Patch0003: 0003-fix-KiranTitlebarWindow-Fix-when-zoomed-twice_GTK_FR.patch
|
||||||
Patch0004: 0004-fix-translate-add-some-translation.patch
|
Patch0004: 0004-fix-translate-add-some-translation.patch
|
||||||
|
Patch0005: 0005-fix-icon-Update-the-title-bar-icon-when-the-window-s.patch
|
||||||
|
|
||||||
BuildRequires: cmake >= 3.5
|
BuildRequires: cmake >= 3.5
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -81,6 +82,9 @@ make %{?_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 25 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.4.0-5
|
||||||
|
- KYOS-B: Update the title bar icon when the window state changes(#I7FTM3)
|
||||||
|
|
||||||
* Mon Apr 10 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.4.0-4
|
* Mon Apr 10 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.4.0-4
|
||||||
- KYOS-T: add some translation
|
- KYOS-T: add some translation
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user