]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionmodifymove.cpp
Start of bringing back missing forms/dialogs
[architektonas] / src / actions / rs_actionmodifymove.cpp
index c5f43c9472df28c642af2aa2cb12c0e6590e8261..542129829421094633a95ee5b8958c80782628c9 100644 (file)
@@ -81,12 +81,12 @@ void RS_ActionModifyMove::mouseMoveEvent(QMouseEvent * e)
 
 void RS_ActionModifyMove::mouseReleaseEvent(QMouseEvent * e)
 {
-       if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton)
+       if (e->button() == Qt::LeftButton)
        {
                Vector ce(snapPoint(e));
                coordinateEvent(&ce);
        }
-       else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton)
+       else if (e->button() == Qt::RightButton)
        {
                deletePreview();
                deleteSnapper();