fix time shutdown coredump

(cherry picked from commit 625f4541f4e48b6623b4eb4200ac9ff4cd05da33)
This commit is contained in:
huayadong 2023-03-01 11:14:07 +08:00 committed by openeuler-sync-bot
parent e91564ca8c
commit 61f6a1d0b1
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 0593828f399543eff2da150c4589e7e4af66978d Mon Sep 17 00:00:00 2001
From: huayadong <huayadong@kylinos.cn>
Date: Wed, 1 Mar 2023 10:32:07 +0800
Subject: [PATCH] dddd
---
src/widget.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/widget.cpp b/src/widget.cpp
index f288c91..852d7ae 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -43,7 +43,7 @@ Widget::Widget(QWidget *parent)
initGsetting();
// 根据版本设置gsetting值
- getTimeShutdownVersion();
+// getTimeShutdownVersion();
// 创建当前动作
createActions();
--
2.36.1

View File

@ -1,6 +1,6 @@
Name: time-shutdown
Version: 1.1.2
Release: 1
Release: 2
Summary: The time-shutdown is mainly used in the desktop operating system
License: GPL-3+
@ -17,6 +17,7 @@ Requires: libX11
Requires: ukui-notification-daemon
Patch0: add_desktop_file.patch
Patch1: 0001-fix-time-shutdown-coredump.patch
%description
The time-shutdown is mainly used in the desktop operating system.
@ -50,6 +51,9 @@ popd
%{_datadir}/ukui-time-shutdown/ukui-time-shutdown_bo_CN.qm
%changelog
* Wed Mar 1 2023 huayadong <huayadong@kylinos.cn> - 1.1.2-2
- fix time shutdown coredump
* Fri Nov 25 2022 douyan <douyan@kylinos.cn> - 1.1.2-1
- update to upstream version 1.1.2