Constness of 'result' prevents automatic move [performance-no-automatic-move] (0 issues)

This commit is contained in:
Dr. Dystopia 2024-08-13 10:20:34 +02:00
parent 5af0ae25e6
commit c6eb7c566d
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();