]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionmodifycut.cpp
Start of bringing back missing forms/dialogs
[architektonas] / src / actions / rs_actionmodifycut.cpp
index 54c721469764c25b1a24bd8e2624d9c3458ce9e2..fb59aac1010d6e6d9fd02ce8552a8dc4340a200d 100644 (file)
@@ -78,7 +78,7 @@ void RS_ActionModifyCut::mouseMoveEvent(QMouseEvent * e)
 
 void RS_ActionModifyCut::mouseReleaseEvent(QMouseEvent * e)
 {
-       if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton)
+       if (e->button() == Qt::LeftButton)
        {
                switch (getStatus())
                {
@@ -123,7 +123,7 @@ void RS_ActionModifyCut::mouseReleaseEvent(QMouseEvent * e)
                        break;
                }
        }
-       else if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton)
+       else if (e->button() == Qt::RightButton)
        {
                deleteSnapper();