소스 검색

Merge pull request #1383 from DarkLordZach/game-list-interpolation

game_list: Add Qt SmoothTransformation to picture scaling
James Rowe 7 년 전
부모
커밋
37bb2c45ee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/yuzu/game_list_p.h

+ 1 - 1
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);
     }