]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionselectcontour.cpp
Scrubbed out all references to RS2::qtToRsButton(). Gone!
[architektonas] / src / actions / rs_actionselectcontour.cpp
index 378a905c2ce138d1adab73d59021bb1331c2c42d..9f98a062f5074f8a8ec38768d8f91d6bdafe1f19 100644 (file)
@@ -56,7 +56,7 @@ void RS_ActionSelectContour::trigger()
 
 void RS_ActionSelectContour::mouseReleaseEvent(QMouseEvent * e)
 {
-       if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton)
+       if (e->button() == Qt::RightButton)
                init(getStatus() - 1);
        else
        {