mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-26 13:16:58 +00:00
tidy loop
This commit is contained in:
parent
f0f9f34445
commit
165d3e1ab2
|
@ -809,8 +809,7 @@ void GMainWindow::OnMenuInstallCIA() {
|
|||
const auto cia_progress = [&](size_t written, size_t total) {
|
||||
emit UpdateProgress(written, total);
|
||||
};
|
||||
for (int current_index = 0; current_index < filepaths.size(); current_index++) {
|
||||
current_path = filepaths.at(current_index);
|
||||
for (const auto current_path : filepaths) {
|
||||
status = Service::AM::InstallCIA(current_path.toStdString(), cia_progress);
|
||||
emit CIAInstallReport(status, current_path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue