]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionmodifyround.cpp
Scrubbed out all references to RS2::qtToRsButton(). Gone!
[architektonas] / src / actions / rs_actionmodifyround.cpp
index 67c0503bd50107087a6ed501e1dca6946cc2edd4..8b6eaf389cf1de1a7d9521217544de939fc12993 100644 (file)
@@ -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();