]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_eventhandler.cpp
Fixed Library Browser...
[architektonas] / src / base / rs_eventhandler.cpp
index 038dd42631970a4efb947b0f95ecd97fda61e1da..fa89eff725573f007b96697744b18476d1bd1d75 100644 (file)
@@ -103,7 +103,7 @@ void RS_EventHandler::mousePressEvent(QMouseEvent * e)
        }
        else
        {
-               if (defaultAction != NULL)
+               if (defaultAction)
                {
                        defaultAction->mousePressEvent(e);
                        e->accept();
@@ -667,6 +667,7 @@ void RS_EventHandler::setSnapMode(RS2::SnapMode sm)
                defaultAction->setSnapMode(sm);
 #else
 #warning "!!! Not sure if this is going to work correctly..."
+//seems to
        graphicView->snapper.setSnapMode(sm);
 #endif
 }
@@ -685,6 +686,7 @@ void RS_EventHandler::setSnapRestriction(RS2::SnapRestriction sr)
                defaultAction->setSnapRestriction(sr);
 #else
 #warning "!!! Not sure if this is going to work correctly..."
+//seems to
        graphicView->snapper.setSnapRestriction(sr);
 #endif
 }