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; }