Commit 9d728568 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Remove unused variables.

Change-Id: I55ba7af5f9d4f036d3562cb1e4475809e79f8b24
Reviewed-on: http://codereview.qt.nokia.com/700

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 0e4af763
......@@ -79,10 +79,6 @@ void AnchorManipulator::setMargin(FormEditorItem *endItem, AnchorLine::Type endA
QPointF beginItemBottomRight(m_beginFormEditorItem->mapToParent(m_beginFormEditorItem->qmlItemNode().instanceBoundingRect().bottomRight()));
QPointF endItemBottomRight(m_beginFormEditorItem->parentItem()->mapFromItem(endItem, endItem->qmlItemNode().instanceBoundingRect().bottomRight()));
QPointF topLeftAnchorOffset = beginItemTopLeft - endItemTopLeft;
QPointF bottomRightAnchorOffset = endItemBottomRight - beginItemBottomRight;
double anchorOffset = 0.0;
if (m_beginAnchorLine & (AnchorLine::Bottom | AnchorLine::Right)) {
anchorOffset = offset(endItemTopLeft, endItemBottomRight, endAnchorLine) -
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment