Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

game_list: Add Qt SmoothTransformation to picture scaling

Zach Hilmana0740414850f
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h
index b6272d5367..cee1097301 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);
}