From 86f3d881167cf654faf1b7d5aad20407f9e18c25 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 23 Jan 2022 12:23:13 +0300 Subject: [PATCH] Fix build for Windows and Linux. --- .../SourceFiles/history/view/media/history_view_sticker.cpp | 2 -- cmake | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp b/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp index 6b30f333d..16e00c365 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp @@ -252,8 +252,6 @@ void Sticker::paintPath( } QPixmap Sticker::paintedPixmap(const PaintContext &context) const { - const auto w = _size.width(); - const auto h = _size.height(); const auto colored = context.selected() ? &context.st->msgStickerOverlay() : nullptr; diff --git a/cmake b/cmake index 08e887324..bc4e6aee9 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 08e887324f22ec78d8ff8f3744f81b1ae68dc774 +Subproject commit bc4e6aee9c4bc8198dd9e36b6db0da61896b36c5