From efcb46658b35adebae13e7dbc9a134c6f78f2d76 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 10 Aug 2019 11:18:37 +0200 Subject: [PATCH] Qt: fix initial trophy icon background color --- rpcs3/rpcs3qt/trophy_manager_dialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/rpcs3qt/trophy_manager_dialog.cpp b/rpcs3/rpcs3qt/trophy_manager_dialog.cpp index 2596958766..230d709114 100644 --- a/rpcs3/rpcs3qt/trophy_manager_dialog.cpp +++ b/rpcs3/rpcs3qt/trophy_manager_dialog.cpp @@ -785,7 +785,6 @@ void trophy_manager_dialog::PopulateTrophyTable() QString unlockstate = data->trop_usr->GetTrophyUnlockState(trophy_id) ? tr("Unlocked") : tr("Locked"); custom_table_widget_item* icon_item = new custom_table_widget_item(); - icon_item->setData(Qt::DecorationRole, data->trophy_images[trophy_id].scaledToHeight(m_icon_height, Qt::SmoothTransformation)); icon_item->setData(Qt::UserRole, hidden, true); custom_table_widget_item* type_item = new custom_table_widget_item(trophy_type); @@ -803,7 +802,7 @@ void trophy_manager_dialog::PopulateTrophyTable() m_trophy_table->setSortingEnabled(true); // Re-enable sorting after using setItem calls - ReadjustTrophyTable(); + ResizeTrophyIcons(); } void trophy_manager_dialog::ReadjustGameTable()