diff --git a/app/HGProductionTool/form_maininterface.cpp b/app/HGProductionTool/form_maininterface.cpp index 0c4220b..126b6b2 100644 --- a/app/HGProductionTool/form_maininterface.cpp +++ b/app/HGProductionTool/form_maininterface.cpp @@ -70,7 +70,7 @@ Form_mainInterface::Form_mainInterface(class MainWindow *mainwnd, Dialog_logIn:: sane_io_control(m_handle, IO_CTRL_CODE_GET_POWER_LEVEL, &sleepTime, &len2); ui->label_sleepTime->setText(tr(" sleep time:") + getSleepTime(sleepTime)); - setVidPid(); + getVidPid(); ui->label_imgInfo->setVisible(false); ui->label_destortionInfo->setVisible(false); @@ -495,7 +495,7 @@ QString Form_mainInterface::getSleepTime(int sleepTime) return QString::number(sleepTime / 60) + tr(" minute"); } -void Form_mainInterface::setVidPid() +void Form_mainInterface::getVidPid() { VIDPID vidpid; int vidpid_val; diff --git a/app/HGProductionTool/form_maininterface.h b/app/HGProductionTool/form_maininterface.h index e7f02c1..30f8cf7 100644 --- a/app/HGProductionTool/form_maininterface.h +++ b/app/HGProductionTool/form_maininterface.h @@ -83,7 +83,7 @@ private: void updateImgPixelInfo(); QString getSpeedMode(SANE_Int speedMode); QString getSleepTime(int sleepTime); - void setVidPid(); + void getVidPid(); private: union VIDPID