X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actiondimangular.cpp;h=9ebb5681c7c64184ce67833838f25fc66674751f;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=31bb89e34b42eae7d700eff4fcd0a4ef00cb82b1;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actiondimangular.cpp b/src/actions/rs_actiondimangular.cpp index 31bb89e..9ebb568 100644 --- a/src/actions/rs_actiondimangular.cpp +++ b/src/actions/rs_actiondimangular.cpp @@ -119,7 +119,7 @@ void RS_ActionDimAngular::mouseMoveEvent(QMouseEvent * e) void RS_ActionDimAngular::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) + if (e->button() == Qt::LeftButton) { switch (getStatus()) { @@ -187,7 +187,7 @@ void RS_ActionDimAngular::mouseReleaseEvent(QMouseEvent * e) break; } } - else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + else if (e->button() == Qt::RightButton) { deletePreview(); deleteSnapper();