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

