smooth pixmap transform in emote input item
This commit is contained in:
@@ -18,6 +18,8 @@ void EmoteInputItem::action()
|
|||||||
|
|
||||||
void EmoteInputItem::paint(QPainter *painter, const QRect &rect) const
|
void EmoteInputItem::paint(QPainter *painter, const QRect &rect) const
|
||||||
{
|
{
|
||||||
|
painter->setRenderHint(QPainter::SmoothPixmapTransform);
|
||||||
|
|
||||||
if (this->emote_)
|
if (this->emote_)
|
||||||
{
|
{
|
||||||
if (auto image = this->emote_->images.getImage(4))
|
if (auto image = this->emote_->images.getImage(4))
|
||||||
|
|||||||
Reference in New Issue
Block a user