Merge pull request #7498 from Z1ni/compress-cancel-correctly
Qt/GameList: Cancel ISO compression when the user cancels the save dialog
This commit is contained in:
commit
dace56cb62
|
@ -496,6 +496,9 @@ void GameList::CompressISO(bool decompress)
|
||||||
.append(decompress ? QStringLiteral(".gcm") : QStringLiteral(".gcz")),
|
.append(decompress ? QStringLiteral(".gcm") : QStringLiteral(".gcz")),
|
||||||
decompress ? tr("Uncompressed GC/Wii images (*.iso *.gcm)") :
|
decompress ? tr("Uncompressed GC/Wii images (*.iso *.gcm)") :
|
||||||
tr("Compressed GC/Wii images (*.gcz)"));
|
tr("Compressed GC/Wii images (*.gcz)"));
|
||||||
|
|
||||||
|
if (dst_path.isEmpty())
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto& file : files)
|
for (const auto& file : files)
|
||||||
|
|
Loading…
Reference in New Issue