mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 09:15:45 +00:00
Add additional empty check for the QStringList returned by the InstallDialog
This commit is contained in:
parent
b5535fe1a0
commit
4bf2b55e67
1 changed files with 4 additions and 0 deletions
|
@ -1621,6 +1621,10 @@ void GMainWindow::OnMenuInstallToNAND() {
|
|||
|
||||
const QStringList files = installDialog.GetFiles();
|
||||
|
||||
if (files.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int remaining = filenames.size();
|
||||
|
||||
// This would only overflow above 2^43 bytes (8.796 TB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue