QmlDesigner: Remove unused code

Change-Id: I08e98f22d3afd5911c56f1471701587db9d9c446
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>