QmlDesigner: Fix indentation and add braces

Change-Id: I2cc4d52aff63f236a7027a9418f623c20a9fe33c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner: Remove duplicate condition

Change-Id: I05cae6b7691c45f6db0a5451c149cda50ebf6ad0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner: Fix argument name

It shadows a member variable

Change-Id: Ibc5b993ef27798d504270091ca4762d2c121b278
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner: Fix duplicate condition

Change-Id: Ic89ac122b53ba3988a9d77d9f072dd5eec19f4fd
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlDesigner: Fix indentation

Change-Id: I4bc8fa05f9ce2e7ac7b45cae85fd7a90af398023
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlJSEditor: Use preincrement

Change-Id: Ic1db8e0626a7c81bac6dc5bb89a33a55fab2fd6b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>