Removed the rectangles around the labels in Layout mode

--HG--
branch : feature
This commit is contained in:
BojanKverh 2016-07-19 17:25:04 +02:00
parent 04780b4323
commit 1cf04118da

View File

@ -583,36 +583,6 @@ QPainterPath VLayoutDetail::ContourPath() const
path.setFillRule(Qt::WindingFill);
}
if (d->detailLabel.count() > 0)
{
points = Map(Mirror(d->detailLabel));
points.push_back(points.at(0));
QPainterPath pathDet;
pathDet.moveTo(points.at(0));
for (qint32 i = 1; i < points.count(); ++i)
{
pathDet.lineTo(points.at(i));
}
path.addPath(pathDet);
}
if (d->patternInfo.count() > 0)
{
points = Map(Mirror(d->patternInfo));
points.push_back(points.at(0));
QPainterPath pathDet;
pathDet.moveTo(points.at(0));
for (qint32 i = 1; i < points.count(); ++i)
{
pathDet.lineTo(points.at(i));
}
path.addPath(pathDet);
}
return path;
}