Review Request 128060: Fix handling command line arguments

Urs Wolfer uwolfer at kde.org
Tue May 31 19:31:28 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128060/#review96109
-----------------------------------------------------------




main.cpp (line 121)
<https://git.reviewboard.kde.org/r/128060/#comment64981>

    Why don't use QUrl::fromUserInput anymore like in the last review request?


- Urs Wolfer


On May 30, 2016, 4:24 p.m., Arno Möller wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128060/
> -----------------------------------------------------------
> 
> (Updated May 30, 2016, 4:24 p.m.)
> 
> 
> Review request for KDE Utils and Urs Wolfer.
> 
> 
> Repository: krdc
> 
> 
> Description
> -------
> 
> 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).
> 
> 
> Diffs
> -----
> 
>   main.cpp 73093f3 
> 
> Diff: https://git.reviewboard.kde.org/r/128060/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Arno Möller
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20160531/4c704d3e/attachment.html>


More information about the Kde-utils-devel mailing list