Fixed missing game badge in achievements dialog

This commit is contained in:
LillyJadeKatrin 2024-08-15 21:48:50 -04:00
parent 18ac8bf405
commit 8bcaf6ef26
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);