Browse Source

game_list: Add Qt SmoothTransformation to picture scaling

nce_cpp
Zach Hilman 7 years ago
parent
commit
a074041485
  1. 2
      src/yuzu/game_list_p.h

2
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);
}

Loading…
Cancel
Save