1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 02:09:48 +01:00

TWK-340: smooth transform for more pixmaps

This commit is contained in:
Leo Franchi 2011-08-24 20:37:23 -04:00
parent 50d00fc1bf
commit 6f639ecf10

View File

@ -110,6 +110,7 @@ void SearchButton::paintEvent(QPaintEvent *event)
if (m_cache.isNull())
m_cache = generateSearchImage(m_showMenuTriangle);
QPainter painter(this);
painter.setRenderHint(QPainter::SmoothPixmapTransform);
painter.drawImage(QPoint(0, 0), m_cache);
}