mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-31 01:25:18 +01:00
ISO: Move load_icon
This commit is contained in:
@@ -434,6 +434,11 @@ void savestate_manager_dialog::ResizeGameIcons()
|
||||
{
|
||||
if (!item->data(GameUserRole::GamePixmapLoaded).toBool())
|
||||
{
|
||||
if (!archive_path.empty())
|
||||
{
|
||||
gui::utils::load_icon(icon, icon_path, archive_path);
|
||||
}
|
||||
|
||||
// Load game icon
|
||||
if (!icon.load(QString::fromStdString(icon_path)))
|
||||
{
|
||||
@@ -448,11 +453,6 @@ void savestate_manager_dialog::ResizeGameIcons()
|
||||
}
|
||||
}
|
||||
|
||||
if (!archive_path.empty())
|
||||
{
|
||||
gui::utils::load_icon(icon, icon_path, archive_path);
|
||||
}
|
||||
|
||||
if (cancel && cancel->load())
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user