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
mardelleApr 7 2020, 3:28 PM
Differential Revision
D28628: Fix opening relative urls from the command line
Parents
R158:8984bf805c0d: Fix build with Qt 5.15.0-beta3
Branches
Unknown
Tags
Unknown