This commit is contained in:
yangjiaxuan 2023-01-06 17:28:13 +08:00
parent 9255dd89d5
commit 72159e3ce2
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -83,7 +83,7 @@ private:
void updateImgPixelInfo();
QString getSpeedMode(SANE_Int speedMode);
QString getSleepTime(int sleepTime);
void setVidPid();
void getVidPid();
private:
union VIDPID