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 (!item->data(GameUserRole::GamePixmapLoaded).toBool())
|
||||||
{
|
{
|
||||||
|
if (!archive_path.empty())
|
||||||
|
{
|
||||||
|
gui::utils::load_icon(icon, icon_path, archive_path);
|
||||||
|
}
|
||||||
|
|
||||||
// Load game icon
|
// Load game icon
|
||||||
if (!icon.load(QString::fromStdString(icon_path)))
|
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())
|
if (cancel && cancel->load())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user