Replace QUrl::fromUserInput by lighter heuristic

Authored by broulik on May 13 2019, 1:46 PM.

Description

Replace QUrl::fromUserInput by lighter heuristic

I just found that QUrl::fromLocalFile() actually calls QFileInfo::exists on the URL which is not something you want to be doing
constantly and especially not for remote locations.

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