From 7253734973a032426000a9b3836d1a4b180aa45b Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 14 Mar 2023 11:32:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner/dialog_log.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/scanner/dialog_log.cpp b/app/scanner/dialog_log.cpp index b9c372f4..f1c3885d 100644 --- a/app/scanner/dialog_log.cpp +++ b/app/scanner/dialog_log.cpp @@ -8,6 +8,8 @@ dialog_log::dialog_log(QWidget *parent) , ui(new Ui::dialog_log), ind_scanning_(-1), img_received_(0), msg_fixed_scanning_("") { ui->setupUi(this); + setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint); + QHBoxLayout *bottom = new QHBoxLayout(); pbtn_clear = new QPushButton(this);