mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-11 19:31:29 +03:00
Hide the button completely on nvme
This commit is contained in:
@@ -491,7 +491,7 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal
|
|||||||
|
|
||||||
if (protocol != "NVMe") {
|
if (protocol != "NVMe") {
|
||||||
addSmartAttributesTable(attributes);
|
addSmartAttributesTable(attributes);
|
||||||
selfTestButton->setEnabled(true);
|
selfTestButton->show();
|
||||||
toolMenu->clear();
|
toolMenu->clear();
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
@@ -505,7 +505,7 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
addNvmeLogTable(nvmeLogOrdered);
|
addNvmeLogTable(nvmeLogOrdered);
|
||||||
selfTestButton->setDisabled(true);
|
selfTestButton->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user