Avoid unnecessary QUrl round-tripping