Browse Source
Merge pull request #1595 from FreddyFunk/cast
configure_system: Fix compiler warning
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/yuzu/configuration/configure_system.cpp
|
|
|
@ -78,7 +78,7 @@ QPixmap GetIcon(Service::Account::UUID uuid) { |
|
|
|
|
|
|
|
if (!icon) { |
|
|
|
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); |
|
|
|
|