Convert to QUrl as early as possible and warn if invalid.
Better here than deep down in KIO::SimpleJob.