forked from qt-creator/qt-creator
QmlDesigner: Fix dead store
Change-Id: Ie9a0beffe770fc2cf9f8172b23660f10b56dcbd4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3e02f8ec2e
commit
7e66dc2cbe
@@ -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;
|
||||
|
Reference in New Issue
Block a user