Fix build with Xcode.

This commit is contained in:
John Preston 2022-10-01 09:09:50 +04:00
parent abdd126dcf
commit 5e82433693

View file

@ -85,7 +85,7 @@ QImage ArchiveUserpic(not_null<Data::Folder*> folder) {
Painter paint(&result);
auto view = std::shared_ptr<Data::CloudImageView>();
folder->paintUserpic(paint, view, 0, 0, result.width());
folder->paintUserpic(paint, 0, 0, result.width());
return result;
}