#include "rs_actionmodifydeletefree.h"
#include "rs_dialogfactory.h"
-#include "rs_graphicview.h"
+#include "graphicview.h"
#include "rs_modification.h"
#include "rs_polyline.h"
#include "rs_undo.h"
RS_ActionModifyDeleteFree::RS_ActionModifyDeleteFree(
- RS_EntityContainer & container, RS_GraphicView & graphicView):
+ RS_EntityContainer & container, GraphicView & graphicView):
RS_ActionInterface("Delete Entities Freehand",
container, graphicView)
{
void RS_ActionModifyDeleteFree::mouseReleaseEvent(QMouseEvent * e)
{
- if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton)
+ if (e->button() == Qt::RightButton)
init(getStatus() - 1);
else
{