summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-09-21 21:34:46 -0400
committerGravatar Zach Hilman2018-09-21 21:34:46 -0400
commit4f183123f5e5a9378cabfebea6d08a51f66507df (patch)
treedf10f5d96955318e5ee7711c28ca9484403959cd /src
parentMerge pull request #1379 from lioncash/bitwise (diff)
downloadyuzu-4f183123f5e5a9378cabfebea6d08a51f66507df.tar.gz
yuzu-4f183123f5e5a9378cabfebea6d08a51f66507df.tar.xz
yuzu-4f183123f5e5a9378cabfebea6d08a51f66507df.zip
game_list: Add Qt SmoothTransformation to picture scaling
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/game_list_p.h2
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:
68 if (!picture.loadFromData(picture_data.data(), static_cast<u32>(picture_data.size()))) { 68 if (!picture.loadFromData(picture_data.data(), static_cast<u32>(picture_data.size()))) {
69 picture = GetDefaultIcon(size); 69 picture = GetDefaultIcon(size);
70 } 70 }
71 picture = picture.scaled(size, size); 71 picture = picture.scaled(size, size, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
72 72
73 setData(picture, Qt::DecorationRole); 73 setData(picture, Qt::DecorationRole);
74 } 74 }