X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionselectsingle.cpp;h=28f966ae9cebbf9ee2906977850d21ca4fbd2d35;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=507b11cae4037d8a3e4f0c0040954fb602d29153;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionselectsingle.cpp b/src/actions/rs_actionselectsingle.cpp index 507b11c..28f966a 100644 --- a/src/actions/rs_actionselectsingle.cpp +++ b/src/actions/rs_actionselectsingle.cpp @@ -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 {