X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_graphicview.cpp;h=73500e211f8d16baef514699fc55dfb4c9550519;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=4dd3e13cc5b14c81a59565d92e404540e0d44288;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/base/rs_graphicview.cpp b/src/base/rs_graphicview.cpp index 4dd3e13..73500e2 100644 --- a/src/base/rs_graphicview.cpp +++ b/src/base/rs_graphicview.cpp @@ -565,8 +565,7 @@ void RS_GraphicView::mouseReleaseEvent(QMouseEvent * e) if (eventHandler != NULL) { - if (RS2::qtToRsButtonState(e->button()) != RS2::RightButton - || eventHandler->hasAction()) + if (e->button() != Qt::RightButton || eventHandler->hasAction()) { eventHandler->mouseReleaseEvent(e); //e->accept(); @@ -574,10 +573,7 @@ void RS_GraphicView::mouseReleaseEvent(QMouseEvent * e) else { back(); -//#if QT_VERSION>=0x030000 e->accept(); -//#endif - } }