This commit is contained in:
parent
9255dd89d5
commit
72159e3ce2
|
@ -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;
|
||||
|
|
|
@ -83,7 +83,7 @@ private:
|
|||
void updateImgPixelInfo();
|
||||
QString getSpeedMode(SANE_Int speedMode);
|
||||
QString getSleepTime(int sleepTime);
|
||||
void setVidPid();
|
||||
void getVidPid();
|
||||
|
||||
private:
|
||||
union VIDPID
|
||||
|
|
Loading…
Reference in New Issue