2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix build with GCC.

This commit is contained in:
John Preston
2022-04-07 18:28:58 +04:00
parent 84cd5b9278
commit ea30918d35
8 changed files with 1 additions and 74 deletions

View File

@@ -2288,7 +2288,6 @@ void StickersListWidget::paintSticker(
p.drawPixmapLeft(ppos, width(), frame);
} else {
const auto image = media->getStickerSmall();
const auto ratio = style::DevicePixelRatio();
const auto useSavedFrame = !sticker.savedFrame.isNull()
&& (sticker.savedFrameFor == _singleSize);
const auto pixmap = useSavedFrame