]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionselectcontour.cpp
Removed a bunch of cruft...
[architektonas] / src / actions / rs_actionselectcontour.cpp
index 378a905c2ce138d1adab73d59021bb1331c2c42d..992474770b14561f6918366ad9132dd446793b38 100644 (file)
@@ -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
        {