aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-11-11 19:13:42 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2015-11-11 19:13:42 +0100
commit17e9c0487a84b5291bef5142432b025237e7cf58 (patch)
tree439f63ee11d55ecfe8a0b77720bc988cc3346af6
parentb9ce5d83d9560e71f1550cecee4fcc0caa26054f (diff)
No need to return after ignoring mouse event.
-rw-r--r--scatterplot.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}