yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

game_list: Add Qt SmoothTransformation to picture scaling

This commit is contained in:
Zach Hilman 2018-09-21 21:34:46 -04:00
parent 4f186de069
commit 4f183123f5
1 changed files with 1 additions and 1 deletions

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);
}