This commit is contained in:
parent
d01a96a18f
commit
f43982b4cd
|
@ -177,7 +177,7 @@ void Dialog_InputSerialNum::setDevceModel()
|
|||
SANE_Status ret = sane_io_control(m_handle, IO_CTRL_CODE_SET_DEVS_MODEL, &deviceModel[0], &len);
|
||||
|
||||
QString info("");
|
||||
if (ret = SANE_STATUS_GOOD)
|
||||
if (ret == SANE_STATUS_GOOD)
|
||||
{
|
||||
info = tr("Set") + tr("Device model: %1").arg(QString::fromStdString(deviceModel));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue