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

