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; enabled = !disable;
this->setEnabled(enabled); 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)); Qt::RoundCap));
emit setEnabledPoint(enabled); emit setEnabledPoint(enabled);
} }