From aed42d7300c38c8c938efaf930f4dba2752241a1 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; } } }