mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 20:09:55 +03:00
SCSI:Show warning if grown defect list is positive
This commit is contained in:
@@ -242,8 +242,10 @@ void MainWindow::updateUI()
|
||||
}
|
||||
}
|
||||
|
||||
if (localObj.value("scsi_grown_defect_list").toInt() != 0) {
|
||||
int scsiGrownDefectList = localObj.value("scsi_grown_defect_list").toInt();
|
||||
if (scsiGrownDefectList != 0) {
|
||||
caution = true;
|
||||
QMessageBox::warning(nullptr, tr("Warning"), deviceName + ": " + tr("Grown Defect List") + ": " + QString::number(scsiGrownDefectList));
|
||||
}
|
||||
} else {
|
||||
JsonParser parser;
|
||||
|
||||
Reference in New Issue
Block a user