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]);
// TODO: Callback to child
return;
break;
}
if (checkPointClicked(end, pos.x(), pos.y(), true)) {
showBlock(block);
// TODO: Callback to child
return;
break;
}
}
}