Review Request 128496: Make default protocol configurable

Arno Möller arno at disconnect.de
Mon Jul 25 17:43:18 UTC 2016


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

(Updated July 25, 2016, 5:43 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Utils and Urs Wolfer.


Changes
-------

Submitted with commit 89cd4132dcd384824dcec86caf1bdb04ec4a1a74 by Urs Wolfer on behalf of Arno Möller to branch master.


Repository: krdc


Description
-------

Add a new config option for the default protocol.
Default protocol: protocol to use when passing a hostname via command line without a scheme.
~~
$ krdc my.host
~~
expands to vnc://my.host since the dawn of time. With the default protocol set to "rdp" it expands to rdp://my.host

The default protocol defaults to vnc to keep the current behavior.

It's a QString because I have no clue how to gather the supported protocols from all installed plugins.


Diffs
-----

  config/general.ui 4a1f0e0 
  core/krdc.kcfg 17d80ef 
  main.cpp d702bf2 

Diff: https://git.reviewboard.kde.org/r/128496/diff/


Testing
-------

$ krdc my.host


Thanks,

Arno Möller

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20160725/6c00ad46/attachment-0001.html>


More information about the Kde-utils-devel mailing list