mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
configure_system: Fix compiler warning
This commit is contained in:
parent
aa1cf608ed
commit
f50f065c31
1 changed files with 1 additions and 1 deletions
|
@ -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