X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionmodifyround.cpp;h=8b6eaf389cf1de1a7d9521217544de939fc12993;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=67c0503bd50107087a6ed501e1dca6946cc2edd4;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionmodifyround.cpp b/src/actions/rs_actionmodifyround.cpp index 67c0503..8b6eaf3 100644 --- a/src/actions/rs_actionmodifyround.cpp +++ b/src/actions/rs_actionmodifyround.cpp @@ -136,7 +136,7 @@ void RS_ActionModifyRound::mouseReleaseEvent(QMouseEvent * e) Vector mouse = graphicView->toGraph(e->x(), e->y()); RS_Entity * se = catchEntity(e, RS2::ResolveAll); - if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) + if (e->button() == Qt::LeftButton) { switch (getStatus()) { @@ -163,7 +163,7 @@ void RS_ActionModifyRound::mouseReleaseEvent(QMouseEvent * e) break; } } - else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton) + else if (e->button() == Qt::RightButton) { deletePreview(); deleteSnapper();