mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Don't hide the PKG install progress dialog after each package
This commit is contained in:
parent
56488a4ac9
commit
321e7d6977
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
progress_dialog pdlg(tr("RPCS3 Package Installer"), tr("Installing package, please wait..."), tr("Cancel"), 0, 1000, false, this);
|
||||||
|
pdlg.setAutoClose(false);
|
||||||
pdlg.show();
|
pdlg.show();
|
||||||
|
|
||||||
// Synchronization variable
|
// Synchronization variable
|
||||||
|
@ -680,7 +681,7 @@ void main_window::HandlePackageInstallation(const std::vector<compat::package_in
|
||||||
|
|
||||||
// Update progress window
|
// Update progress window
|
||||||
double pval = progress;
|
double pval = progress;
|
||||||
if (pval < 0) pval += 1.;
|
if (pval < 0.) pval += 1.;
|
||||||
pdlg.SetValue(static_cast<int>(pval * pdlg.maximum()));
|
pdlg.SetValue(static_cast<int>(pval * pdlg.maximum()));
|
||||||
QCoreApplication::processEvents();
|
QCoreApplication::processEvents();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue