X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionmodifycut.cpp;h=fb59aac1010d6e6d9fd02ce8552a8dc4340a200d;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=54c721469764c25b1a24bd8e2624d9c3458ce9e2;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionmodifycut.cpp b/src/actions/rs_actionmodifycut.cpp index 54c7214..fb59aac 100644 --- a/src/actions/rs_actionmodifycut.cpp +++ b/src/actions/rs_actionmodifycut.cpp @@ -78,7 +78,7 @@ void RS_ActionModifyCut::mouseMoveEvent(QMouseEvent * e) void RS_ActionModifyCut::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) + if (e->button() == Qt::LeftButton) { switch (getStatus()) { @@ -123,7 +123,7 @@ void RS_ActionModifyCut::mouseReleaseEvent(QMouseEvent * e) break; } } - else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + else if (e->button() == Qt::RightButton) { deleteSnapper();