Review Request 127666: kconfig and kurlrequester friendship: store local paths in string-typed item without file:// prefix

Nick Shaforostoff shafff at ukr.net
Sun Apr 17 11:09:43 UTC 2016


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

Review request for KDE Frameworks and Matthew Dawson.


Repository: kconfig


Description
-------

in ktorrent kcfg_*-names kurlrequester is used to edit a string-typed setting (it may contain only local paths).
this patch makes sure that no file:// prefix is added on setting change by adding a special check for the case when qvariant contains qurl and converting it appropriately


Diffs
-----

  src/core/kcoreconfigskeleton.cpp 293387b 

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


Testing
-------

ktorrent now displays local paths in settings dialog without file:// prefix


Thanks,

Nick Shaforostoff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160417/f7822b0c/attachment.html>


More information about the Kde-frameworks-devel mailing list