mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-21 00:03:20 +03:00
Don't update the UI if the output is empty
This commit is contained in:
@@ -171,8 +171,10 @@ void MainWindow::scanDevices()
|
||||
deviceOutputs.append(jsonFragment);
|
||||
}
|
||||
|
||||
if (!allDevicesOutput.isEmpty()) {
|
||||
updateUI();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::updateUI()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user