mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-14 16:18:48 -05:00
keep PNG for avatars
This commit is contained in:
parent
0a8f4b1b6e
commit
31bdd6c226
6 changed files with 7 additions and 7 deletions
|
|
@ -141,7 +141,7 @@ void AvatarDialog::getAvatar(QByteArray &avatar)
|
|||
QBuffer buffer(&avatar);
|
||||
|
||||
buffer.open(QIODevice::WriteOnly);
|
||||
pixmap.save(&buffer, "JPG"); // writes image into ba in PNG format
|
||||
pixmap.save(&buffer, "PNG"); // writes image into ba in PNG format
|
||||
}
|
||||
|
||||
void AvatarDialog::load()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue