widgets: redundant return-break (#2922)

Removed consecutive return-break statements.
This commit is contained in:
tcoyvwac 2022-04-02 20:29:50 +02:00 committed by Anton Kochkov
parent 46ea1569d2
commit 12721aaa9e

View File

@ -664,13 +664,11 @@ void GraphView::mousePressEvent(QMouseEvent *event)
showBlock(blocks[edge.target]); showBlock(blocks[edge.target]);
// TODO: Callback to child // TODO: Callback to child
return; return;
break;
} }
if (checkPointClicked(end, pos.x(), pos.y(), true)) { if (checkPointClicked(end, pos.x(), pos.y(), true)) {
showBlock(block); showBlock(block);
// TODO: Callback to child // TODO: Callback to child
return; return;
break;
} }
} }
} }