diff --git a/mainwindow.cpp b/mainwindow.cpp index 47b0965..529cc54 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -345,7 +345,7 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal } else if (attrObj["name"] == "Remaining_Lifetime_Perc") { int percentageUsed = attrObj["raw"].toObject()["value"].toInt(); percentage = QString::number(percentageUsed) + " %"; - } else if (attrObj["name"] == "Media_Wearout_Indicator") { + } else if (attrObj["name"] == "Media_Wearout_Indicator" || attrObj["name"] == "SSD_Life_Left") { int percentageUsed = attrObj["value"].toInt(); percentage = QString::number(percentageUsed) + " %"; }