X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actiondrawimage.cpp;h=2ba383db2481ef504262bc95cd54129004007eef;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=d68e5b517fd86cd4a4566048f8ab97b2d676c057;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actiondrawimage.cpp b/src/actions/rs_actiondrawimage.cpp index d68e5b5..2ba383d 100644 --- a/src/actions/rs_actiondrawimage.cpp +++ b/src/actions/rs_actiondrawimage.cpp @@ -125,13 +125,13 @@ void RS_ActionDrawImage::mouseMoveEvent(QMouseEvent * e) void RS_ActionDrawImage::mouseReleaseEvent(QMouseEvent * e) { -// if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) +// if (e->button() == Qt::LeftButton) if (e->button() == Qt::LeftButton) { Vector ce(snapPoint(e)); coordinateEvent(&ce); } -// else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) +// else if (e->button() == Qt::RightButton) else if (e->button() == Qt::RightButton) { deleteSnapper();