Merge pull request #12997 from tygyh/Remove-constness

Constness of 'result' prevents automatic move [performance-no-automatic-move]
This commit is contained in:
Tilka 2024-08-14 02:28:23 +01:00 committed by GitHub
commit d5522e218f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -177,10 +177,8 @@ void VerifyWidget::Verify()
}
verifier.Finish();
const DiscIO::VolumeVerifier::Result result = verifier.GetResult();
progress.Reset();
return result;
return verifier.GetResult();
});
SetQWidgetWindowDecorations(progress.GetRaw());
progress.GetRaw()->exec();