!21 [sync] PR-20: fix time shutdown coredump

From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2023-03-01 08:09:34 +00:00 committed by Gitee
commit bcf2e93a69
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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