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:
parent
56488a4ac9
commit
321e7d6977
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user