From 4f183123f5e5a9378cabfebea6d08a51f66507df Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Fri, 21 Sep 2018 21:34:46 -0400 Subject: [PATCH] game_list: Add Qt SmoothTransformation to picture scaling --- src/yuzu/game_list_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(picture_data.size()))) { picture = GetDefaultIcon(size); } - picture = picture.scaled(size, size); + picture = picture.scaled(size, size, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); setData(picture, Qt::DecorationRole); }