From de3345a4189f172a0fcc54bc1247c78d3cda52d5 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Fri, 28 Jul 2023 14:57:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=BE=99=E8=8A=AFkylin?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E8=87=B3pdf=E5=A4=9A=E9=A1=B5app=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E9=97=AA=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner2/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scanner2/mainwindow.cpp b/app/scanner2/mainwindow.cpp index d4c73a24..e0182dc0 100644 --- a/app/scanner2/mainwindow.cpp +++ b/app/scanner2/mainwindow.cpp @@ -1022,6 +1022,8 @@ void MainWindow::on_newImage(void *image) { emit post_new_image(m_scanFileName); } + + m_scanFileName.clear(); } else if (2 == m_scanType) { @@ -1196,6 +1198,8 @@ void MainWindow::on_newImage(void *image) emit post_new_image(m_scanFileName); ++m_aquireIntoSaveParam.m_fileNameStartIndex; } + + m_scanFileName.clear(); } }