mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 16:22:46 +00:00
Add additional empty check for the QStringList returned by the InstallDialog
This commit is contained in:
parent
6d8d7ebc66
commit
75a01475d1
|
@ -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…
Reference in a new issue