Fix opening relative paths from the command line

Authored by sandsmark on Apr 6 2020, 3:41 PM.

Description

Fix opening relative paths from the command line

The code didn't work as intended, and somewhere something was calling
QUrl::fromUserInput() when adding to recently used documents. And that
helpfully adds "http:" as scheme if none is set (e. g. if opening a
relative file). So a lot of things broke.

Test Plan: Opening relative paths from the command line works again

Differential Revision: https://phabricator.kde.org/D28628

Details

Committed
sandsmarkApr 7 2020, 3:23 PM
Differential Revision
D28628: Fix opening relative urls from the command line
Parents
R158:1e17bb9e224b: Merge branch '2004'
Branches
Unknown
Tags
Unknown