From db58c5b1aef254530c6861ac4c7a809051f83778 Mon Sep 17 00:00:00 2001 From: peijiankang Date: Mon, 22 Aug 2022 17:43:56 +0800 Subject: [PATCH] Fix about background not changing with style (cherry picked from commit 7c9fd911c8de933f504bd41e4dda124719d8cf7a) --- ...t-background-not-changing-with-style.patch | 25 +++++++++++++++++++ kylin-video.spec | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0004-Fix-about-background-not-changing-with-style.patch diff --git a/0004-Fix-about-background-not-changing-with-style.patch b/0004-Fix-about-background-not-changing-with-style.patch new file mode 100644 index 0000000..4eb285b --- /dev/null +++ b/0004-Fix-about-background-not-changing-with-style.patch @@ -0,0 +1,25 @@ +From 3671a414343f43244cd15bf2581dbc3f75327f73 Mon Sep 17 00:00:00 2001 +From: peijiankang +Date: Mon, 22 Aug 2022 17:42:27 +0800 +Subject: [PATCH] Fix about background not changing with style + +--- + src/global/global.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/global/global.h b/src/global/global.h +index 8da1296..bc31db6 100644 +--- a/src/global/global.h ++++ b/src/global/global.h +@@ -42,7 +42,7 @@ class QGSettings; + class ShortCutSetting; + //using namespace Control; + #define ORG_UKUI_STYLE "org.ukui.style" +-#define STYLE_UKUI_DEFAULT "ukui" ++#define STYLE_UKUI_DEFAULT "ukui-default" + #define STYLE_UKUI_BLACK "ukui-dark" + #define ICO_DIR_DEFAULT "ico_light" + #define ICO_DIR_DBLACK "ico" +-- +2.33.0 + diff --git a/kylin-video.spec b/kylin-video.spec index 7c8b9f0..fe7aebd 100644 --- a/kylin-video.spec +++ b/kylin-video.spec @@ -2,7 +2,7 @@ Name: kylin-video Version: 3.1.3 -Release: 5 +Release: 6 Summary: A powerful video player License: GPL-2.0-or-later and LGPL-2.0-or-later and BSD URL: https://github.com/UbuntuKylin/kylin-video @@ -10,6 +10,7 @@ Source0: kylin-video-3.1.3.tar.gz Patch1: 0001-modify-compile-error-of-kylin-video.patch Patch2: 0002-Fix-the-problem-of-the-help-manual-button.patch Patch3: 0003-modify-version-is-error.patch +Patch4: 0004-Fix-about-background-not-changing-with-style.patch BuildRequires: qt5-devel BuildRequires: qtchooser @@ -43,6 +44,7 @@ It supports both x86 and ARM platform, and supports most of the audio and video %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build @@ -68,6 +70,9 @@ popd %changelog +* Mon Aug 22 2022 peijiankang - 3.1.3-6 +- Fix about background not changing with style + * Mon Aug 22 2022 peijiankang - 3.1.3-5 - modify version is error