1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-24 21:16:49 -05:00

Merge pull request #1383 from DarkLordZach/game-list-interpolation

game_list: Add Qt SmoothTransformation to picture scaling
This commit is contained in:
James Rowe
2018-09-21 20:55:49 -06:00
committed by GitHub

View File

@@ -68,7 +68,7 @@ public:
if (!picture.loadFromData(picture_data.data(), static_cast<u32>(picture_data.size()))) {
picture = GetDefaultIcon(size);
}
picture = picture.scaled(size, size);
picture = picture.scaled(size, size, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
setData(picture, Qt::DecorationRole);
}