lanxum save
This commit is contained in:
parent
ca5413c747
commit
2ad22b6c7f
|
@ -81,6 +81,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
#elif defined(OEM_LISICHENG)
|
#elif defined(OEM_LISICHENG)
|
||||||
this->setWindowIcon(QIcon(":images/image_rsc/logo/Lanxum_logo.ico"));
|
this->setWindowIcon(QIcon(":images/image_rsc/logo/Lanxum_logo.ico"));
|
||||||
this->setWindowTitle(tr("LanxumScan"));
|
this->setWindowTitle(tr("LanxumScan"));
|
||||||
|
auto_save_changes_ = true;
|
||||||
#else
|
#else
|
||||||
this->setWindowIcon(QIcon(":images/image_rsc/logo/logo.ico"));
|
this->setWindowIcon(QIcon(":images/image_rsc/logo/logo.ico"));
|
||||||
this->setWindowTitle(tr("HuaGoScan"));
|
this->setWindowTitle(tr("HuaGoScan"));
|
||||||
|
@ -286,7 +287,14 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
updateActionStatus();
|
updateActionStatus();
|
||||||
ui->act_autoSave->setChecked(auto_save_changes_);
|
ui->act_autoSave->setChecked(auto_save_changes_);
|
||||||
ui->act_autoSave->setText(tr("auto save"));
|
ui->act_autoSave->setText(tr("auto save"));
|
||||||
|
|
||||||
|
#if defined(OEM_LISICHENG)
|
||||||
ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding"));
|
ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding"));
|
||||||
|
#else
|
||||||
|
|
||||||
|
ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding"));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
auto_save_info_.index = 0;
|
auto_save_info_.index = 0;
|
||||||
ui->act_device_log->setEnabled(false);
|
ui->act_device_log->setEnabled(false);
|
||||||
|
|
Loading…
Reference in New Issue