X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actiondrawarctangential.cpp;h=1f639dce1989cc21067ffc02fb8b43f68735da35;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=25d52bc3774914a2d9648fd28ac40b1d9129e192;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actiondrawarctangential.cpp b/src/actions/rs_actiondrawarctangential.cpp index 25d52bc..1f639dc 100644 --- a/src/actions/rs_actiondrawarctangential.cpp +++ b/src/actions/rs_actiondrawarctangential.cpp @@ -135,7 +135,7 @@ void RS_ActionDrawArcTangential::mouseMoveEvent(QMouseEvent * e) void RS_ActionDrawArcTangential::mouseReleaseEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) + if (e->button() == Qt::LeftButton) { switch (getStatus()) { @@ -176,7 +176,7 @@ void RS_ActionDrawArcTangential::mouseReleaseEvent(QMouseEvent * e) break; } } - else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + else if (e->button() == Qt::RightButton) { deletePreview(); deleteSnapper();