From e58080ba8116133210a53f7f61d958f6d7f70a9a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 9 Feb 2016 16:26:49 +0200 Subject: [PATCH] Little fix tools visuzlization. --HG-- branch : release --- .../vtools/visualization/vistoolpointofintersectionarcs.cpp | 2 ++ .../vtools/visualization/vistoolpointofintersectioncircles.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/libs/vtools/visualization/vistoolpointofintersectionarcs.cpp b/src/libs/vtools/visualization/vistoolpointofintersectionarcs.cpp index 08ff5038a..c50770838 100644 --- a/src/libs/vtools/visualization/vistoolpointofintersectionarcs.cpp +++ b/src/libs/vtools/visualization/vistoolpointofintersectionarcs.cpp @@ -37,6 +37,8 @@ VisToolPointOfIntersectionArcs::VisToolPointOfIntersectionArcs(const VContainer point(nullptr), arc1Path(nullptr), arc2Path(nullptr) { + this->setPen(QPen(Qt::NoPen)); // don't use parent this time + arc1Path = InitItem(Qt::darkGreen, this); arc1Path->setFlag(QGraphicsItem::ItemStacksBehindParent, false); arc2Path = InitItem(Qt::darkRed, this); diff --git a/src/libs/vtools/visualization/vistoolpointofintersectioncircles.cpp b/src/libs/vtools/visualization/vistoolpointofintersectioncircles.cpp index 8c4857355..44645566e 100644 --- a/src/libs/vtools/visualization/vistoolpointofintersectioncircles.cpp +++ b/src/libs/vtools/visualization/vistoolpointofintersectioncircles.cpp @@ -37,6 +37,8 @@ VisToolPointOfIntersectionCircles::VisToolPointOfIntersectionCircles(const VCont crossPoint(CrossCirclesPoint::FirstPoint), point(nullptr), c1Center(nullptr), c2Center(nullptr), c1Path(nullptr), c2Path(nullptr) { + this->setPen(QPen(Qt::NoPen)); // don't use parent this time + c1Path = InitItem(Qt::darkGreen, this); c2Path = InitItem(Qt::darkRed, this); point = InitPoint(mainColor, this);