Fix QUrl string encoding

Review Request #127042 - Created Feb. 11, 2016 and submitted

Information
Aleix Pol Gonzalez
okular
Reviewers
okular
arichardson

This Url is converted in to a string to be parsed back using QUrl( urlString, QUrl::StrictMode ).
By default, it uses PrettyDecoded, which makes QUrl::StrictMode choke.

An alternative patch would be to overload openDocument to also take QUrl and skip the back-and-forth conversion.

Now I can open files with a space in it.

Aleix Pol Gonzalez
Alex Richardson
Aleix Pol Gonzalez
Albert Vaca Cintora
Aleix Pol Gonzalez
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 154c98fdaab2e593091fe644cfaeed96dd9fefaf by Aleix Pol to branch frameworks.
Loading...