From c0bae287beff85854307bcd31802fcea0febc02b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 7 Jul 2016 14:36:11 +0300 Subject: [PATCH] Refactoring. --HG-- branch : develop --- .../drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp index 238703690..7e1c32dab 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp @@ -379,8 +379,7 @@ void VToolBasePoint::contextMenuEvent ( QGraphicsSceneContextMenuEvent * event ) */ void VToolBasePoint::FullUpdateFromFile() { - VPointF point = *VAbstractTool::data.GeometricObject(id); - RefreshPointGeometry(point); + RefreshPointGeometry(*VAbstractTool::data.GeometricObject(id)); } //---------------------------------------------------------------------------------------------------------------------