mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-17 10:10:53 +03:00
Some controllers are stupid, show dashes instead of 0 GB
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user