mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #1595 from FreddyFunk/cast
configure_system: Fix compiler warning
This commit is contained in:
commit
c31412c433
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue