]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionmodifyentity.cpp
Removed a bunch of cruft...
[architektonas] / src / actions / rs_actionmodifyentity.cpp
index 051304650c43f5206b6ec02810c0c5d9624beed0..7aaaae48d46adb511d96b0292874deaeaecfb60e 100644 (file)
 #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
        {