Fix parsing of locations from Qt TS

Signed-off-by: Michal Čihař <michal@cihar.com>