X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawpolyline.cpp;h=1ddd4121ca303066c07a40909e4eadd332d3a0b9;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=65a7270cfe55611c655f1cfc745c83f04e29e78a;hpb=92c8661cef41f1109908bf645c0a171e34680183;p=architektonas diff --git a/src/actions/actiondrawpolyline.cpp b/src/actions/actiondrawpolyline.cpp index 65a7270..1ddd412 100644 --- a/src/actions/actiondrawpolyline.cpp +++ b/src/actions/actiondrawpolyline.cpp @@ -74,7 +74,7 @@ void ActionDrawPolyline::mouseMoveEvent(QMouseEvent * e) DEBUG->print("ActionDrawPolyline::mouseMoveEvent(): line added: %d", ent->getId()); } #else - Vector mouse = graphicView->snapper.snapPoint(e); + Vector mouse = graphicView->SnapPoint(e); if (getStatus() == SetNextPoint && startPoint.valid) { @@ -142,7 +142,7 @@ void ActionDrawPolyline::mouseReleaseEvent(QMouseEvent * e) { if (e->button() == Qt::LeftButton) { - Vector ce(graphicView->snapper.snapPoint(e)); + Vector ce(graphicView->SnapPoint(e)); coordinateEvent(&ce); //let's try this...