Update changelog 4.1.0.0-0k19

This commit is contained in:
tanjing 2023-12-05 18:16:20 +08:00 committed by openkylin-cibot
parent f0cc4f83e8
commit 80bfb5884b
3 changed files with 51 additions and 0 deletions

10
debian/changelog vendored
View File

@ -1,3 +1,13 @@
qt5-ukui-platformtheme (4.1.0.0-ok19) nile; urgency=medium
* 改动:
BUG号
需求号:无
其他改动:释放读取文件的内存
影响域:无
-- tanjing <tanjing@kylinos.cn> Tue, 05 Dec 2023 18:14:43 +0800
qt5-ukui-platformtheme (4.1.0.0-ok18) nile; urgency=medium
* 改动:

View File

@ -0,0 +1,40 @@
From: tanjing <tanjing@kylinos.cn>
Date: Tue, 5 Dec 2023 18:16:20 +0800
Subject: Update changelog 4.1.0.0-0k19
---
.../qt5-config-style-ukui/ukui-config-style-parameters.cpp | 8 ++++++++
ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.cpp b/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.cpp
index 8288cd1..fc27405 100644
--- a/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.cpp
+++ b/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.cpp
@@ -111,6 +111,14 @@ UKUIConfigStyleParameters::UKUIConfigStyleParameters(QObject *parent, bool isDar
}
}
+UKUIConfigStyleParameters::~UKUIConfigStyleParameters()
+{
+ if(m_readCfg)
+ {
+ delete m_readCfg;
+ }
+}
+
void UKUIConfigStyleParameters::initialDefaultPaletteColor(QString colorPath, bool isDark)
{
if (!QFile(colorPath).exists()) {
diff --git a/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.h b/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.h
index e3ee64e..4fa3b67 100644
--- a/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.h
+++ b/ukui-styles/qt5-config-style-ukui/ukui-config-style-parameters.h
@@ -52,6 +52,7 @@ class UKUIConfigStyleParameters: public QObject
Q_OBJECT
public:
UKUIConfigStyleParameters(QObject *parent, bool isDark, QString cfgName = "");
+ ~UKUIConfigStyleParameters();
enum SpinBoxControlLayout {
Horizontal,

View File

@ -15,3 +15,4 @@
0015-Update-changelog-4.1.0.0-0k16.patch
0016-Update-changelog-4.1.0.0-0k17.patch
0017-Update-changelog-4.1.0.0-0k18.patch
0018-Update-changelog-4.1.0.0-0k19.patch