summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list_p.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-09-21 21:34:46 -0400
committerZach Hilman <zachhilman@gmail.com>2018-09-21 21:34:46 -0400
commit4f183123f5e5a9378cabfebea6d08a51f66507df (patch)
treedf10f5d96955318e5ee7711c28ca9484403959cd /src/yuzu/game_list_p.h
parent4f186de0690536ab3a58c8a5746da9928e78223c (diff)
game_list: Add Qt SmoothTransformation to picture scaling
Diffstat (limited to 'src/yuzu/game_list_p.h')
-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);
}