Fix warnings about unused variables and */* in QML-Designer.

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