From 12721aaa9ef1fd3d58023e4344fc659bfeafc955 Mon Sep 17 00:00:00 2001 From: tcoyvwac <53616399+tcoyvwac@users.noreply.github.com> Date: Sat, 2 Apr 2022 20:29:50 +0200 Subject: [PATCH] widgets: redundant return-break (#2922) Removed consecutive return-break statements. --- src/widgets/GraphView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/widgets/GraphView.cpp b/src/widgets/GraphView.cpp index 1cd9b497..95b81348 100644 --- a/src/widgets/GraphView.cpp +++ b/src/widgets/GraphView.cpp @@ -664,13 +664,11 @@ void GraphView::mousePressEvent(QMouseEvent *event) showBlock(blocks[edge.target]); // TODO: Callback to child return; - break; } if (checkPointClicked(end, pos.x(), pos.y(), true)) { showBlock(block); // TODO: Callback to child return; - break; } } }