将ui模块中的文件移动到app目录下

This commit is contained in:
luoliangyi 2022-05-18 08:55:44 +08:00
parent 260fc6dda5
commit 39e746bbaf
8 changed files with 9 additions and 9 deletions

View File

@ -1556,7 +1556,7 @@ HGResult HGImgThumb::moveItemsTo(const QStringList &fileNames, int index)
items.push_back(item);
}
if (index < m_frontItems.size())
if (index < (int)m_frontItems.size())
{
int indexEx = index;
for (int i = 0; i < (int)items.size(); ++i)

View File

@ -1598,7 +1598,7 @@ void MainWindow::on_act_save_triggered()
if (!find)
{
int jpegQuality = dlg.getJpegQuality();
int tiffCompressionBW = dlg.getTiffCompressionBW();
//int tiffCompressionBW = dlg.getTiffCompressionBW();
int tiffCompression = dlg.getTiffCompression();
int tiffQuality = dlg.getTiffQuality();
bool isOcr = dlg.isOcr();
@ -1715,7 +1715,7 @@ void MainWindow::on_act_saveAs_triggered()
if (!find)
{
int jpegQuality = dlg.getJpegQuality();
int tiffCompressionBW = dlg.getTiffCompressionBW();
//int tiffCompressionBW = dlg.getTiffCompressionBW();
int tiffCompression = dlg.getTiffCompression();
int tiffQuality = dlg.getTiffQuality();
bool isOcr = dlg.isOcr();

View File

@ -126,9 +126,9 @@ SOURCES += \
../../app/scanner/config.cpp \
../../app/scanner/json.cpp \
../../app/scanner/cJSON.c \
../../ui/HGImgThumb.cpp \
../../ui/HGImgView.cpp \
../../ui/HGUIGlobal.cpp \
../../app/scanner/HGImgThumb.cpp \
../../app/scanner/HGImgView.cpp \
../../app/scanner/HGUIGlobal.cpp \
../../utility/HGString.cpp \
../../app/scanner/dialog_input.cpp
@ -169,9 +169,9 @@ HEADERS += \
../../app/scanner/config.h \
../../app/scanner/json.h \
../../app/scanner/cJSON.h \
../../ui/HGImgThumb.h \
../../ui/HGImgView.h \
../../ui/HGUIGlobal.h \
../../app/scanner/HGImgThumb.h \
../../app/scanner/HGImgView.h \
../../app/scanner/HGUIGlobal.h \
../../utility/HGString.h \
../../app/scanner/dialog_input.h