mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-19 04:01:29 +03:00
Caution if the defect list is not 0
This commit is contained in:
@@ -240,6 +240,10 @@ void MainWindow::updateUI()
|
||||
caution = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (localObj.value("scsi_grown_defect_list").toInt() != 0) {
|
||||
caution = true;
|
||||
}
|
||||
} else {
|
||||
JsonParser parser;
|
||||
nvmeSmartOrdered = parser.parse(allOutput);
|
||||
@@ -906,7 +910,6 @@ void MainWindow::addSCSIErrorCounterLogTable(const QJsonObject &scsiErrorLog)
|
||||
tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::addNvmeLogTable(const QVector<QPair<QString, int>>& nvmeLogOrdered)
|
||||
{
|
||||
QString warningMessage = "";
|
||||
|
||||
Reference in New Issue
Block a user