smooth pixmap transform in emote input item

This commit is contained in:
fourtf 2020-08-15 20:25:58 +02:00
parent 8818f3df18
commit 235b67f9da

View file

@ -18,6 +18,8 @@ void EmoteInputItem::action()
void EmoteInputItem::paint(QPainter *painter, const QRect &rect) const
{
painter->setRenderHint(QPainter::SmoothPixmapTransform);
if (this->emote_)
{
if (auto image = this->emote_->images.getImage(4))