X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionblockscreate.cpp;h=70f57d0e5b8bb95c16deeef9d9df3e02c8545ce3;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=083f2fe4e4588f25b3beea28b6ab8077e880120f;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionblockscreate.cpp b/src/actions/rs_actionblockscreate.cpp index 083f2fe..70f57d0 100644 --- a/src/actions/rs_actionblockscreate.cpp +++ b/src/actions/rs_actionblockscreate.cpp @@ -117,7 +117,7 @@ void RS_ActionBlocksCreate::mouseMoveEvent(QMouseEvent * e) void RS_ActionBlocksCreate::mouseReleaseEvent(QMouseEvent * e) { -// if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) +// if (e->button() == Qt::LeftButton) if (e->button() == Qt::LeftButton) { // Vector ce(snapPoint(e)); @@ -125,7 +125,7 @@ void RS_ActionBlocksCreate::mouseReleaseEvent(QMouseEvent * e) 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();