Fix handling command line arguments

Review Request #128060 - Created May 30, 2016 and submitted

Information
Arno Möller
krdc
master
Reviewers
kdeutils
uwolfer

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).


  

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
Why don't use QUrl::fromUserInput anymore like in the last review request? Urs Wolfer Urs Wolfer
Urs Wolfer
Arno Möller
Review request changed

Status: Closed (submitted)

Loading...