QML Designer: Fix build  on Windows/MSVC.

Variable names should be different.

Change-Id: Ibf7c8dd95ffc59d0c02341dffa107f0a0441beaa
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
QmlDesigner: Don't change x or y if vertical anchors are set

Task-number: QTCREATORBUG-11783
Change-Id: I81f64afc3308e2e1b66dea5540704767d30e29d2
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>