Merge pull request #13014 from LillyJadeKatrin/retroachievements-game-badge-fix

Fixed missing game badge in achievements dialog
This commit is contained in:
Tilka 2024-08-16 03:35:21 +01:00 committed by GitHub
commit e91784e7ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ void AchievementHeaderWidget::UpdateData()
{
rc_client_user_game_summary_t game_summary;
rc_client_get_user_game_summary(instance.GetClient(), &game_summary);
if (game_badge.data.empty())
if (!game_badge.data.empty())
{
QImage i_game_icon(game_badge.data.data(), game_badge.width, game_badge.height,
QImage::Format_RGBA8888);