!24 update frash style

From: @tanyulong2021 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2022-08-05 03:34:03 +00:00 committed by Gitee
commit e6137be03c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 03f0d03796be3dab05193dd7535b4097784e3bef Mon Sep 17 00:00:00 2001
From: tanyulong2021 <tanyulong@kylinos.cn>
Date: Thu, 4 Aug 2022 12:20:41 +0800
Subject: [PATCH] update frash style
---
tools/mainwindow.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/mainwindow.cpp b/tools/mainwindow.cpp
index 1010b4a..06f0207 100755
--- a/tools/mainwindow.cpp
+++ b/tools/mainwindow.cpp
@@ -29,6 +29,8 @@
#include <QCloseEvent>
#include <QMouseEvent>
#include <QX11Info>
+#include <QMessageBox>
+#include <QPushButton>
#include <X11/extensions/XTest.h>
#include <unistd.h>
#include <sys/types.h>
@@ -318,7 +320,7 @@ void MainWindow::doevent(QString test, int i){
} else {
qDebug()<<"failure to close Grab";
}
- this->hide();
+ //this->hide();
if(i == 3){
doLockscreen();
}
--
2.33.0

View File

@ -2,7 +2,7 @@
Name: ukui-session-manager
Version: 3.0.2
Release: 9
Release: 10
Summary: Session manager of the UKUI desktop environment
License: GPL-2.0-or-later and GPL-3.0-or-later and LGPL-2.0-or-later
URL: http://www.ukui.org
@ -28,6 +28,7 @@ patch2: 0003-adjust-the-sequence-to-make-translation-file-loaded-first.patch
patch3: 0004-add-startlogout-signal.patch
patch4: 0005-update-debian-changelog.patch
patch5: 0006-ukui-session-session-application.patch
patch6: 0007-update-frash-style.patch
%description
This package contains a session that can be started from a display
@ -43,6 +44,7 @@ patch5: 0006-ukui-session-session-application.patch
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
mkdir cmake-build
@ -76,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
#%%{_datadir}/man/man1/ukui-session-tools.1.gz
%changelog
* Thu Aug 04 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-10
- update frash style
* Mon May 23 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-9
- Improve the project according to the requirements of compliance improvement