Commit 66b2b70e authored by Marijn Kruisselbrink's avatar Marijn Kruisselbrink

enable antialiassing for the music widget to make non-integer scale values work as well

svn path=/trunk/koffice/; revision=923136
parent efb7cdb1
......@@ -60,6 +60,9 @@ void MusicWidget::paintEvent(QPaintEvent* event)
{
if (!m_sheet) return;
QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
painter.setRenderHint(QPainter::TextAntialiasing);
painter.scale(m_scale, m_scale);
m_renderer.renderSheet(painter, m_sheet, 0, m_lastSystem);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment