X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionmodifyentity.cpp;h=7aaaae48d46adb511d96b0292874deaeaecfb60e;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=051304650c43f5206b6ec02810c0c5d9624beed0;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionmodifyentity.cpp b/src/actions/rs_actionmodifyentity.cpp index 0513046..7aaaae4 100644 --- a/src/actions/rs_actionmodifyentity.cpp +++ b/src/actions/rs_actionmodifyentity.cpp @@ -15,10 +15,10 @@ #include "rs_actionmodifyentity.h" #include "rs_dialogfactory.h" -#include "rs_graphicview.h" +#include "graphicview.h" RS_ActionModifyEntity::RS_ActionModifyEntity(RS_EntityContainer & container, - RS_GraphicView & graphicView): + GraphicView & graphicView): RS_ActionInterface("Modify Entity", container, graphicView) { en = NULL; @@ -66,7 +66,7 @@ void RS_ActionModifyEntity::trigger() void RS_ActionModifyEntity::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + if (e->button() == Qt::RightButton) init(getStatus() - 1); else {