QmlDesigner: Fix dead store

Change-Id: Ie9a0beffe770fc2cf9f8172b23660f10b56dcbd4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Orgad Shaneh
2015-03-07 21:26:20 +02:00
committed by Orgad Shaneh
parent 3e02f8ec2e
commit 7e66dc2cbe

View File

@@ -587,7 +587,6 @@ static QmlItemNode findItemOnSnappingLine(const QmlItemNode &sourceQmlItemNode,
if (possibleAchorItemNode != sourceQmlItemNode) {
if (sourceQmlItemNode.instanceParent() == possibleAchorItemNode) {
targetQmlItemNode = possibleAchorItemNode;
targetAnchorLine = currentToAnchorLine;
break;
} else if (currentToAnchorLine < targetAnchorLine) {
targetQmlItemNode = possibleAchorItemNode;