Don't hide the PKG install progress dialog after each package
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user