mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-18 13:18:05 +01:00
qt: reset progress bar after shader compilation
This commit is contained in:
1 parent
62ca68fc3e
commit
a5c55abaaf
1 file changed
+4
@@ -147,6 +147,10 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::size
|
||||
ui->progress_bar->setMaximum(static_cast<int>(total));
|
||||
previous_total = total;
|
||||
}
|
||||
// Reset the progress bar ranges if compilation is done
|
||||
if (stage == VideoCore::LoadCallbackStage::Complete) {
|
||||
ui->progress_bar->setRange(0, 0);
|
||||
}
|
||||
|
||||
QString estimate;
|
||||
// If theres a drastic slowdown in the rate, then display an estimate
|
||||
|
||||
Reference in new issue
Block a user