2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build with GCC.

This commit is contained in:
John Preston
2023-07-11 22:22:40 +04:00
parent f7cbac1f46
commit 6607848abc
13 changed files with 2 additions and 29 deletions

View File

@@ -517,7 +517,6 @@ void Video::paint(Painter &p, const QRect &clip, TextSelection selection, const
if ((blurred || thumbnail || good)
&& ((_pix.width() != _width * cIntRetinaFactor())
|| (_pixBlurred && (thumbnail || good)))) {
auto size = _width * cIntRetinaFactor();
auto img = good
? good->original()
: thumbnail