]> Shamusworld >> Repos - architektonas/blobdiff - src/line.cpp
Further refinements to the Circle class.
[architektonas] / src / line.cpp
index 7f04a1989e25f17f0328ff0e1c0147408c23883b..2e3539f7b0cfa510045ce1569c1139578b304d1e 100644 (file)
@@ -49,10 +49,10 @@ Line::~Line()
        painter->SetPen(QPen(Qt::red, 2.0, Qt::DotLine));
 
        if ((state == OSSelected) || ((state == OSInactive) && hitPoint1))
-               painter->DrawEllipse(position, 4.0, 4.0);
+               painter->DrawHandle(position);
 
        if ((state == OSSelected) || ((state == OSInactive) && hitPoint2))
-               painter->DrawEllipse(endpoint, 4.0, 4.0);
+               painter->DrawHandle(endpoint);
 
        if ((state == OSInactive) && !hitLine)
                painter->SetPen(QPen(Qt::black, 1.0, Qt::SolidLine));