UrlInfo: Pass current working directory to QUrl::fromUserInput
Only for a "valid file path on the system" will it return a local path, but for "foo" it would reutrn "http://foo" when it doesn't have a working directory to resolve from.
~/kde $ kwrite foo
On my KF6 session it now opens ~/kde/foo
as a “New file” rather than trying to open non-existing http://foo