~dismine/valentina/valentina

« back to all changes in this revision

Viewing changes to src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.cpp

  • Committer: Roman Telezhynskyi
  • Date: 2017-06-16 18:14:33 UTC
  • Revision ID: git-v1:1e4e5cca9bdc5553aa1de1e6ca8082600aae5f91
Added new feature Zoom Fit Best Current pattern piece.

--HG--
branch : develop

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
//---------------------------------------------------------------------------------------------------------------------
98
98
QRectF VToolLinePoint::boundingRect() const
99
99
{
100
 
    QRectF rect = VToolSinglePoint::boundingRect();
101
 
    rect = rect.united(mainLine->boundingRect());
102
 
    return rect;
 
100
    QRectF recTool = VToolSinglePoint::boundingRect();
 
101
    recTool = recTool.united(childrenBoundingRect());
 
102
    return recTool;
103
103
}
104
104
 
105
105
//---------------------------------------------------------------------------------------------------------------------