mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-11 10:15:40 +02:00
photobooth: don't save cropped image data to the profile vcard
Change-Id: Iab7e5b9f7f8128bed25b75256eb228588704fa5a
This commit is contained in:
parent
106a37e8aa
commit
68c1665a51
1 changed files with 1 additions and 2 deletions
|
@ -134,8 +134,7 @@ QString
|
||||||
PhotoboothPreviewRender::takePhoto(int size)
|
PhotoboothPreviewRender::takePhoto(int size)
|
||||||
{
|
{
|
||||||
if (auto previewImage = lrcInstance_->renderer()->getPreviewFrame()) {
|
if (auto previewImage = lrcInstance_->renderer()->getPreviewFrame()) {
|
||||||
return Utils::byteArrayToBase64String(
|
return Utils::byteArrayToBase64String(Utils::QImageToByteArray(previewImage->copy()));
|
||||||
Utils::QImageToByteArray(Utils::getCirclePhoto(previewImage->copy(), size)));
|
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue