Wrong pen width.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-23 21:47:35 +03:00
parent d3b228df25
commit 8e3ef70859

View File

@ -75,7 +75,7 @@ void VAbstractSpline::Disable(bool disable)
{
enabled = !disable;
this->setEnabled(enabled);
this->setPen(QPen(CorrectColor(lineColor), qApp->toPixel(qApp->widthMainLine())/factor, Qt::SolidLine,
this->setPen(QPen(CorrectColor(lineColor), qApp->toPixel(qApp->widthHairLine())/factor, Qt::SolidLine,
Qt::RoundCap));
emit setEnabledPoint(enabled);
}