mirror of https://github.com/RPCS3/rpcs3.git
Qt: fix app versions after a patch was removed from the game list
This commit is contained in:
parent
94af3b3f03
commit
3d6c211382
|
@ -908,15 +908,8 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
||||||
}
|
}
|
||||||
fs::remove_all(currGame.path);
|
fs::remove_all(currGame.path);
|
||||||
m_game_data.erase(std::remove(m_game_data.begin(), m_game_data.end(), gameinfo), m_game_data.end());
|
m_game_data.erase(std::remove(m_game_data.begin(), m_game_data.end(), gameinfo), m_game_data.end());
|
||||||
if (m_isListLayout)
|
|
||||||
{
|
|
||||||
m_gameList->removeRow(m_gameList->currentItem()->row());
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Refresh();
|
|
||||||
}
|
|
||||||
LOG_SUCCESS(GENERAL, "Removed %s %s in %s", currGame.category, currGame.name, currGame.path);
|
LOG_SUCCESS(GENERAL, "Removed %s %s in %s", currGame.category, currGame.name, currGame.path);
|
||||||
|
Refresh(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
connect(openGameFolder, &QAction::triggered, [=]()
|
connect(openGameFolder, &QAction::triggered, [=]()
|
||||||
|
|
Loading…
Reference in New Issue