From 4b2992009c97abc4ad90190730a132686aff6222 Mon Sep 17 00:00:00 2001 From: Spiros Date: Mon, 3 Jun 2024 19:24:38 +0300 Subject: [PATCH] Support LEXAR/SAMSUNG SSDs --- mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 21dc15b..715296f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -337,6 +337,9 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal } else if (attrObj["name"] == "Media_Wearout_Indicator") { int percentageUsed = attrObj["value"].toInt(); percentage = QString::number(percentageUsed) + " %"; + } else if (attrObj["name"] == "Wear_Leveling_Count") { + int percentageUsed = attrObj["value"].toInt(); + percentage = QString::number(percentageUsed) + " %"; } } } else {