From 5e824336935fde8ef36aad40baa84de906bb956d Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 1 Oct 2022 09:09:50 +0400 Subject: [PATCH] Fix build with Xcode. --- .../platform/mac/touchbar/items/mac_pinned_chats_item.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm b/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm index 1f95fd6f50..b514b0013f 100644 --- a/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm +++ b/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm @@ -85,7 +85,7 @@ QImage ArchiveUserpic(not_null folder) { Painter paint(&result); auto view = std::shared_ptr(); - folder->paintUserpic(paint, view, 0, 0, result.width()); + folder->paintUserpic(paint, 0, 0, result.width()); return result; }