]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionselectsingle.cpp
Removed a bunch of cruft...
[architektonas] / src / actions / rs_actionselectsingle.cpp
index 507b11cae4037d8a3e4f0c0040954fb602d29153..28f966ae9cebbf9ee2906977850d21ca4fbd2d35 100644 (file)
@@ -17,7 +17,7 @@
 #include "rs_dialogfactory.h"
 #include "rs_selection.h"
 
-RS_ActionSelectSingle::RS_ActionSelectSingle(RS_EntityContainer & container, RS_GraphicView & graphicView):
+RS_ActionSelectSingle::RS_ActionSelectSingle(RS_EntityContainer & container, GraphicView & graphicView):
        RS_ActionInterface("Select Entities", container, graphicView)
 {
        en = NULL;
@@ -53,7 +53,7 @@ void RS_ActionSelectSingle::keyPressEvent(QKeyEvent * e)
 
 void RS_ActionSelectSingle::mouseReleaseEvent(QMouseEvent * e)
 {
-       if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton)
+       if (e->button() == Qt::RightButton)
                init(getStatus() - 1);
        else
        {