summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-09-22 04:55:49 +0200
committerGitHub <noreply@github.com>2018-09-22 04:55:49 +0200
commit37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4 (patch)
treedf10f5d96955318e5ee7711c28ca9484403959cd
parentMerge pull request #1379 from lioncash/bitwise (diff)
parentgame_list: Add Qt SmoothTransformation to picture scaling (diff)
downloadyuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.tar
yuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.tar.gz
yuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.tar.bz2
yuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.tar.lz
yuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.tar.xz
yuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.tar.zst
yuzu-37bb2c45ee8fe7e54edd2bd5761cfd9803e7e5b4.zip
-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:
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);
}