Fix unneeded asterisk when opening an ui file.

Task-number: QTCREATORBUG-10498

Reverting part of 17e2847f7eb13bed200267a7661848ac2a522576
which fixed QTCREATORBUG-9610, but introduced a regression.
Looks like that part of code is unneeded.

Change-Id: Ia3ee746f871da4c0ff46facd18aa7a7d86d7899e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>