解决国产系统双张校验点击关闭按钮但会继续扫描的问题;BUG-886

解决国产系统导出界面,路径选择文件夹会崩溃的问题;BUG-887
This commit is contained in:
yangjiaxuan 2024-01-23 10:42:24 +08:00
parent e30b5d9fc3
commit 6d75b82a9a
2 changed files with 2 additions and 4 deletions

View File

@ -10,9 +10,7 @@
#include <string> #include <string>
#include "base/HGBase.h" #include "base/HGBase.h"
#if !defined (HG_CMP_MSC) //#define USE_FILE_DLG_WITHOUT_PROMPT
#define USE_FILE_DLG_WITHOUT_PROMPT
#endif
template<class T> template<class T>
class custom_file_dlg class custom_file_dlg

View File

@ -9,7 +9,7 @@ Dialog_AbnormalImage::Dialog_AbnormalImage(HGImage image, QWidget *parent) :
ui->setupUi(this); ui->setupUi(this);
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint | Qt::WindowStaysOnTopHint); setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint | Qt::WindowStaysOnTopHint);
m_result = HGBASE_ERR_FAIL; m_result = HGSANE_ERR_IMAGE_DISCARD;
m_view = new HGImgView(this); m_view = new HGImgView(this);
m_view->addImage(image); m_view->addImage(image);