X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionprintpreview.cpp;h=b9c6d1f139ee2312ec222cf5c9cfe352e6b3a42d;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=e280e57116d2d5ad68b7f9c293b6e33ca1b03da4;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/actions/rs_actionprintpreview.cpp b/src/actions/rs_actionprintpreview.cpp index e280e57..b9c6d1f 100644 --- a/src/actions/rs_actionprintpreview.cpp +++ b/src/actions/rs_actionprintpreview.cpp @@ -73,7 +73,7 @@ void RS_ActionPrintPreview::mouseMoveEvent(QMouseEvent * e) void RS_ActionPrintPreview::mousePressEvent(QMouseEvent * e) { - if (RS2::qtToRsButtonState(e->button()) == RS2::LeftButton) + if (e->button() == Qt::LeftButton) { switch (getStatus()) { @@ -99,9 +99,7 @@ void RS_ActionPrintPreview::mouseReleaseEvent(QMouseEvent * e) default: //deleteSnapper(); RS_DIALOGFACTORY->requestPreviousMenu(); -#if QT_VERSION >= 0x030000 e->accept(); -#endif break; } }