1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 04:32:35 +01:00

Don't hide the PKG install progress dialog after each package

This commit is contained in:
Megamouse 2020-11-19 21:46:41 +01:00
parent 56488a4ac9
commit 321e7d6977

View File

@ -607,6 +607,7 @@ void main_window::HandlePackageInstallation(const std::vector<compat::package_in
}
progress_dialog pdlg(tr("RPCS3 Package Installer"), tr("Installing package, please wait..."), tr("Cancel"), 0, 1000, false, this);
pdlg.setAutoClose(false);
pdlg.show();
// Synchronization variable
@ -680,7 +681,7 @@ void main_window::HandlePackageInstallation(const std::vector<compat::package_in
// Update progress window
double pval = progress;
if (pval < 0) pval += 1.;
if (pval < 0.) pval += 1.;
pdlg.SetValue(static_cast<int>(pval * pdlg.maximum()));
QCoreApplication::processEvents();
}