Port: Open relative path again
Review Request #128507 - Created July 22, 2016 and submitted
This brings back the opening of files with relative path.
However it was written "correct this mess", and I just did a port of what was there. Do I push it anyway?
Compiled and Tested
|why create a new QUrl?||Martin Tobias Holmedahl Sandsmark|
instead use something like: if (url.scheme() == "http" && url.host().isEmpty() && url.fileName().endsWith(".pdf")) is a bit easier to read, and handles corner cases better (with fragments and paths etc). can probably drop the scheme() check as well?
why create a new QUrl?
maybe a better comment would be "KRun autodeletes"?