1
0
Fork 0
mirror of https://git.h3cjp.net/H3cJP/yuzu.git synced 2024-12-16 07:45:33 +00:00

configure_system: Fix compiler warning

This commit is contained in:
Frederic Laing 2018-10-28 21:13:09 +01:00
parent aa1cf608ed
commit f50f065c31

View file

@ -78,7 +78,7 @@ QPixmap GetIcon(Service::Account::UUID uuid) {
if (!icon) { if (!icon) {
icon.fill(Qt::black); icon.fill(Qt::black);
icon.loadFromData(backup_jpeg.data(), backup_jpeg.size()); icon.loadFromData(backup_jpeg.data(), static_cast<u32>(backup_jpeg.size()));
} }
return icon.scaled(64, 64, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); return icon.scaled(64, 64, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);