diff --git a/rpcs3/rpcs3qt/game_list_grid.cpp b/rpcs3/rpcs3qt/game_list_grid.cpp index 5d4b90203f..4a762f288c 100644 --- a/rpcs3/rpcs3qt/game_list_grid.cpp +++ b/rpcs3/rpcs3qt/game_list_grid.cpp @@ -91,19 +91,19 @@ void game_list_grid::populate( if (const QPixmap pixmap = item->get_movie_image(frame); item->get_active() && !pixmap.isNull()) { item->set_icon(gui::utils::get_centered_pixmap(pixmap, m_icon_size, 0, 0, 1.0, Qt::FastTransformation)); + return; } - else - { - std::lock_guard lock(item->pixmap_mutex); + std::lock_guard lock(item->pixmap_mutex); + + if (!game->pxmap.isNull()) + { item->set_icon(game->pxmap); if (!game->has_hover_gif && !game->has_hover_pam) { game->pxmap = {}; } - - item->stop_movie(); } }); diff --git a/rpcs3/rpcs3qt/game_list_table.cpp b/rpcs3/rpcs3qt/game_list_table.cpp index 96f94787b5..31950ab177 100644 --- a/rpcs3/rpcs3qt/game_list_table.cpp +++ b/rpcs3/rpcs3qt/game_list_table.cpp @@ -252,19 +252,19 @@ void game_list_table::populate( if (const QPixmap pixmap = icon_item->get_movie_image(frame); icon_item->get_active() && !pixmap.isNull()) { icon_item->setData(Qt::DecorationRole, pixmap.scaled(m_icon_size, Qt::KeepAspectRatio)); + return; } - else - { - std::lock_guard lock(icon_item->pixmap_mutex); + std::lock_guard lock(icon_item->pixmap_mutex); + + if (!game->pxmap.isNull()) + { icon_item->setData(Qt::DecorationRole, game->pxmap); if (!game->has_hover_gif && !game->has_hover_pam) { game->pxmap = {}; } - - icon_item->stop_movie(); } });