Review Request: Fix KUrlCompletionPrivate::urlCompletion's behavior

Dawit Alemayehu adawit at kde.org
Thu Aug 25 04:55:02 BST 2011


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

Review request for kdelibs and David Faure.


Summary
-------

The attached patch fixes the logic problems in KUrlCompletionPrivate::urlCompletion that cause it to incorrectly attempt remote directory name completions. With this patch simply entering "sftp:/" or "ftp:/" into a line edit that uses KUrlCompletion will not result in a completion attempt. Additionally the new code should be much more clearer than the previous one.


Diffs
-----

  kio/kio/kurlcompletion.cpp 18ea90a 

Diff: http://git.reviewboard.kde.org/r/102425/diff


Testing
-------

Validated with unit test and tested using Konqueror's location bar.


Thanks,

Dawit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110825/eea2da7d/attachment.htm>


More information about the kde-core-devel mailing list