Fix invalid initialisation of QUrl.

Authored by johanneszarl on Jan 12 2018, 7:21 PM.