X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actiondrawlinetangent2.cpp;h=f4bcf99db927b66280c49f5885c9924dbd60a9df;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=98027d396d96f16ea35a4efef54ac99a25cf77c1;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actiondrawlinetangent2.cpp b/src/actions/rs_actiondrawlinetangent2.cpp index 98027d3..f4bcf99 100644 --- a/src/actions/rs_actiondrawlinetangent2.cpp +++ b/src/actions/rs_actiondrawlinetangent2.cpp @@ -16,11 +16,11 @@ #include "rs_creation.h" #include "rs_dialogfactory.h" -#include "rs_graphicview.h" +#include "graphicview.h" #include "rs_preview.h" RS_ActionDrawLineTangent2::RS_ActionDrawLineTangent2( - RS_EntityContainer & container, RS_GraphicView & graphicView): + RS_EntityContainer & container, GraphicView & graphicView): RS_PreviewActionInterface("Draw Tangents 2", container, graphicView) { tangent = NULL; @@ -120,7 +120,7 @@ void RS_ActionDrawLineTangent2::mouseMoveEvent(QMouseEvent * e) void RS_ActionDrawLineTangent2::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + if (e->button() == Qt::RightButton) { deletePreview(); clearPreview();