mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-18 08:21:11 +00:00
Qt: Allow users to create shortcuts for existing bootable entries even after canceling the installation
This commit is contained in:
parent
12fa7c41f6
commit
1852b370d7
1 changed files with 11 additions and 11 deletions
|
@ -1035,22 +1035,22 @@ void main_window::HandlePackageInstallation(QStringList file_paths)
|
||||||
|
|
||||||
m_game_list_frame->Refresh(true);
|
m_game_list_frame->Refresh(true);
|
||||||
|
|
||||||
pdlg.hide();
|
std::map<std::string, QString> bootable_paths_installed; // -> title id
|
||||||
|
|
||||||
if (!cancelled)
|
for (usz index = 0; index < bootable_paths.size(); index++)
|
||||||
{
|
{
|
||||||
std::map<std::string, QString> bootable_paths_installed; // -> title id
|
if (bootable_paths[index].empty())
|
||||||
|
|
||||||
for (usz index = 0; index < bootable_paths.size(); index++)
|
|
||||||
{
|
{
|
||||||
if (bootable_paths[index].empty())
|
continue;
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
bootable_paths_installed[bootable_paths[index]] = packages[index].title_id;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bootable_paths_installed[bootable_paths[index]] = packages[index].title_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
pdlg.hide();
|
||||||
|
|
||||||
|
if (!cancelled || !bootable_paths_installed.empty())
|
||||||
|
{
|
||||||
if (bootable_paths_installed.empty())
|
if (bootable_paths_installed.empty())
|
||||||
{
|
{
|
||||||
m_gui_settings->ShowInfoBox(tr("Success!"), tr("Successfully installed software from package(s)!"), gui::ib_pkg_success, this);
|
m_gui_settings->ShowInfoBox(tr("Success!"), tr("Successfully installed software from package(s)!"), gui::ib_pkg_success, this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue