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