Remove dead code.

Change-Id: I5295dd0f9c828522e5a4a5b1182179ccf64d3d14
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
QmlDesigner: Fix warning about wrong initialization order

Change-Id: I6d85dc89a4e0dc978308648feaa4fe754d1d5c14
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>