From ccd06caef99de0da51d0a569d10b1d858f72d974 Mon Sep 17 00:00:00 2001
From: dismine <dismine@gmail.com>
Date: Thu, 25 Dec 2014 19:19:31 +0200
Subject: [PATCH] Fix for line to label.

--HG--
branch : develop
---
 src/app/tools/drawTools/vtoolpoint.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/app/tools/drawTools/vtoolpoint.cpp b/src/app/tools/drawTools/vtoolpoint.cpp
index 63a74c83f..53025c402 100644
--- a/src/app/tools/drawTools/vtoolpoint.cpp
+++ b/src/app/tools/drawTools/vtoolpoint.cpp
@@ -260,8 +260,7 @@ void VToolPoint::RefreshLine()
     {
         QRectF nameRec = namePoint->sceneBoundingRect();
         QPointF p1, p2;
-        VGObject::LineIntersectCircle(QPointF(), radius/factor, QLineF(QPointF(), nameRec.center() - scenePos()), p1,
-                                      p2);
+        VGObject::LineIntersectCircle(QPointF(), radius, QLineF(QPointF(), nameRec.center() - scenePos()), p1, p2);
         QPointF pRec = VGObject::LineIntersectRect(nameRec, QLineF(scenePos(), nameRec.center()));
         lineName->setLine(QLineF(p1, pRec - scenePos()));
         if (currentColor == Qt::gray)