X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionselect.cpp;h=1fe684a39549a57acbb3b7228d8d6be4d64d96fc;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=88d73b7ec6cc6e2e4b0e126c09aa9ece73b67a4f;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionselect.cpp b/src/actions/rs_actionselect.cpp index 88d73b7..1fe684a 100644 --- a/src/actions/rs_actionselect.cpp +++ b/src/actions/rs_actionselect.cpp @@ -16,9 +16,9 @@ #include "rs_actionselectsingle.h" #include "rs_dialogfactory.h" -#include "rs_graphicview.h" +#include "graphicview.h" -RS_ActionSelect::RS_ActionSelect(RS_EntityContainer & container, RS_GraphicView & graphicView, RS2::ActionType nextAction): +RS_ActionSelect::RS_ActionSelect(RS_EntityContainer & container, GraphicView & graphicView, RS2::ActionType nextAction): RS_ActionInterface("Select Entities", container, graphicView) { this->nextAction = nextAction; @@ -36,7 +36,7 @@ void RS_ActionSelect::init(int status) void RS_ActionSelect::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + if (e->button() == Qt::RightButton) init(getStatus() - 1); }