From 17e9c0487a84b5291bef5142432b025237e7cf58 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Wed, 11 Nov 2015 19:13:42 +0100 Subject: No need to return after ignoring mouse event. --- scatterplot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scatterplot.cpp b/scatterplot.cpp index eef4893..d8a7b5e 100644 --- a/scatterplot.cpp +++ b/scatterplot.cpp @@ -285,7 +285,7 @@ void Scatterplot::mousePressEvent(QMouseEvent *event) case INTERACTION_BEGIN_MOVING: case INTERACTION_MOVING: event->ignore(); - return; + break; } } -- cgit v1.2.3