diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-21 21:34:46 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-21 21:34:46 -0400 |
commit | 4f183123f5e5a9378cabfebea6d08a51f66507df (patch) | |
tree | df10f5d96955318e5ee7711c28ca9484403959cd /src | |
parent | 4f186de0690536ab3a58c8a5746da9928e78223c (diff) |
game_list: Add Qt SmoothTransformation to picture scaling
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/game_list_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index b6272d536..cee109730 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h @@ -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); } |