X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionselectcontour.cpp;h=992474770b14561f6918366ad9132dd446793b38;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=378a905c2ce138d1adab73d59021bb1331c2c42d;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionselectcontour.cpp b/src/actions/rs_actionselectcontour.cpp index 378a905..9924747 100644 --- a/src/actions/rs_actionselectcontour.cpp +++ b/src/actions/rs_actionselectcontour.cpp @@ -18,7 +18,7 @@ #include "rs_selection.h" RS_ActionSelectContour::RS_ActionSelectContour(RS_EntityContainer & container, - RS_GraphicView & graphicView): + GraphicView & graphicView): RS_ActionInterface("Select Contours", container, graphicView) { en = NULL; @@ -56,7 +56,7 @@ void RS_ActionSelectContour::trigger() void RS_ActionSelectContour::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + if (e->button() == Qt::RightButton) init(getStatus() - 1); else {