line width of bends wrongly get multiplied by spatium()

see https://musescore.org/en/node/272425
This commit is contained in:
Joachim Schmitz 2018-05-16 10:09:20 +02:00
parent 4c5e1e96a4
commit e343e61d55

View file

@ -175,7 +175,7 @@ void Bend::layout()
void Bend::draw(QPainter* painter) const
{
qreal _spatium = spatium();
qreal _lw = _lineWidth.val() * _spatium;
qreal _lw = _lineWidth.val();
QPen pen(curColor(), _lw, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin);
painter->setPen(pen);