mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-18 21:41:29 +03:00
Support LEXAR/SAMSUNG SSDs
This commit is contained in:
@@ -337,6 +337,9 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal
|
|||||||
} else if (attrObj["name"] == "Media_Wearout_Indicator") {
|
} else if (attrObj["name"] == "Media_Wearout_Indicator") {
|
||||||
int percentageUsed = attrObj["value"].toInt();
|
int percentageUsed = attrObj["value"].toInt();
|
||||||
percentage = QString::number(percentageUsed) + " %";
|
percentage = QString::number(percentageUsed) + " %";
|
||||||
|
} else if (attrObj["name"] == "Wear_Leveling_Count") {
|
||||||
|
int percentageUsed = attrObj["value"].toInt();
|
||||||
|
percentage = QString::number(percentageUsed) + " %";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user