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