mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-10-17 14:19:43 +00:00
QPainter::viewport() can be a too large rect to be passed as a clipping region to QPainter on Retina displays. QPainter in case of Retina displays tries to transform QRegion using scale matrix and fails with "QRegion: creating region from big polygon failed" warning message and disables painting completely.