Fix handling command line arguments
Review Request #128060 - Created May 30, 2016 and submitted
QUrl::fromLocalFile is clearly wrong. It gives us file://rdp:// or similar garbage.
We cannot use QUrl::fromUserInput() either, since this gives us an http:// or an ftp:// URL if the scheme is empty, depending on the hostname. Due to the plugin architecture we cannot assume
that krdc can't handle those protocols.
Assume that we're dealing with just a hostname instead, and further assume that the protocol is vnc:// (default since kde3).
|Why don't use QUrl::fromUserInput anymore like in the last review request?||Urs Wolfer|