mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Qt/GameList: Cancel ISO compression when the user cancels the save dialog
This commit is contained in:
parent
b5d855caf7
commit
d7640f5929
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue