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 GitHub
parent ea519df01e
commit aed42d7300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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