keep PNG for avatars

This commit is contained in:
csoler 2023-01-16 20:16:44 +01:00
parent 0a8f4b1b6e
commit 31bdd6c226
6 changed files with 7 additions and 7 deletions

View file

@ -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()