!32 fix wrong mouse style of titlebar buttons
From: @hou-hongxun Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
fa44adf371
@ -0,0 +1,56 @@
|
|||||||
|
From 9fbe32146356de5a76f3f51d7b212443f3f2e022 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?=E4=BE=AF=E7=BA=A2=E5=8B=8B?= <houhongxun@kylinos.cn>
|
||||||
|
Date: Mon, 15 Apr 2024 15:12:54 +0800
|
||||||
|
Subject: [PATCH] kylin-music: fix wrong mouse style of some title bar buttons
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: 侯红勋 <houhongxun@kylinos.cn>
|
||||||
|
---
|
||||||
|
UI/titlebar/titlebar.cpp | 8 ++++----
|
||||||
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/UI/titlebar/titlebar.cpp b/UI/titlebar/titlebar.cpp
|
||||||
|
index e5bcf86..6c63217 100644
|
||||||
|
--- a/UI/titlebar/titlebar.cpp
|
||||||
|
+++ b/UI/titlebar/titlebar.cpp
|
||||||
|
@@ -173,7 +173,7 @@ void TitleBar::initTitle()
|
||||||
|
nullLabel->setPixmap(QPixmap(":/images/TitleBar/line.png"));
|
||||||
|
|
||||||
|
miniBtn = new QPushButton;
|
||||||
|
- miniBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
+ //miniBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
miniBtn->setFixedSize(30,30);
|
||||||
|
// miniBtn->setToolTip("精简模式");
|
||||||
|
miniBtn->setToolTip(tr("mini model"));
|
||||||
|
@@ -183,7 +183,7 @@ void TitleBar::initTitle()
|
||||||
|
miniBtn->setFlat(true);
|
||||||
|
|
||||||
|
minimumBtn = new QPushButton;
|
||||||
|
- minimumBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
+ //minimumBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
// minimumBtn->setToolTip(tr("最小化"));
|
||||||
|
minimumBtn->setToolTip(tr("To minimize the"));
|
||||||
|
minimumBtn->setFixedSize(30,30);
|
||||||
|
@@ -193,7 +193,7 @@ void TitleBar::initTitle()
|
||||||
|
minimumBtn->setFlat(true);
|
||||||
|
|
||||||
|
maximumBtn = new QPushButton;
|
||||||
|
- maximumBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
+ //maximumBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
maximumBtn->setFixedSize(30,30);
|
||||||
|
// maximumBtn->setToolTip(tr("最大化"));
|
||||||
|
maximumBtn->setToolTip(tr("maximize"));
|
||||||
|
@@ -204,7 +204,7 @@ void TitleBar::initTitle()
|
||||||
|
|
||||||
|
|
||||||
|
closeBtn = new QPushButton;
|
||||||
|
- closeBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
+ //closeBtn->setCursor(Qt::PointingHandCursor);
|
||||||
|
closeBtn->setFixedSize(30,30);
|
||||||
|
// closeBtn->setToolTip("关闭");
|
||||||
|
closeBtn->setToolTip(tr("close"));
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: kylin-music
|
Name: kylin-music
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: kylin-music
|
Summary: kylin-music
|
||||||
License: GPL-3.0-or-later and MIT
|
License: GPL-3.0-or-later and MIT
|
||||||
URL: https://github.com/UbuntuKylin/kylin-music
|
URL: https://github.com/UbuntuKylin/kylin-music
|
||||||
@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
patch0: 0001-fix-compile-error-of-kylin-music.patch
|
patch0: 0001-fix-compile-error-of-kylin-music.patch
|
||||||
patch1: 0002-modify-version-is-error.patch
|
patch1: 0002-modify-version-is-error.patch
|
||||||
Patch2: kylin-music-1.1.3_kylin_fix_install_the_repair_file_in_the_bin_directory.patch
|
Patch2: kylin-music-1.1.3_kylin_fix_install_the_repair_file_in_the_bin_directory.patch
|
||||||
|
Patch3: 0001-kylin-music-fix-wrong-mouse-style-of-some-title-bar-.patch
|
||||||
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: qtchooser
|
BuildRequires: qtchooser
|
||||||
@ -34,6 +35,7 @@ kylin-music
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
@ -78,6 +80,9 @@ cp -r %{_builddir}/%{name}-%{version}/data/kylin-music %{buildroot}/usr/share/ky
|
|||||||
%{_datadir}/kylin-user-guide/data/guide/*
|
%{_datadir}/kylin-user-guide/data/guide/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 15 2024 houhongxun <houhongxun@kylinos.cn> - 1.1.3-4
|
||||||
|
- add Patch3: 0001-kylin-music-fix-wrong-mouse-style-of-some-title-bar-.patch
|
||||||
|
|
||||||
* Wed Jun 14 2023 huayadong <huayadong@kylinos.cn> - 1.1.3-3
|
* Wed Jun 14 2023 huayadong <huayadong@kylinos.cn> - 1.1.3-3
|
||||||
- add Patch2:kylin-music-1.1.3_kylin_fix_install_the_repair_file_in_the_bin_directory.patch
|
- add Patch2:kylin-music-1.1.3_kylin_fix_install_the_repair_file_in_the_bin_directory.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user