mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-28 03:10:57 +01:00
Merge pull request #1383 from DarkLordZach/game-list-interpolation
game_list: Add Qt SmoothTransformation to picture scaling
This commit is contained in:
commit
37bb2c45ee
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue