Some controllers are stupid, show dashes instead of 0 GB

This commit is contained in:
Spiros
2024-06-02 15:51:39 +03:00
parent f29ea468dc
commit 8949f90a3b
2 changed files with 9 additions and 1 deletions

View File

@@ -310,6 +310,14 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal
}
}
if (totalReads == "0 GB") {
totalReads = "----";
}
if (totalWrites == "0 GB") {
totalWrites = "----";
}
totalReadsLineEdit->setText(totalReads);
totalReadsLineEdit->setAlignment(Qt::AlignRight);