Review Request: avoid duplicate entries in konqueror address completion list

Mark Gaiser markg85 at gmail.com
Wed Aug 15 21:47:22 BST 2012



> On Aug. 15, 2012, 7:05 p.m., Mark Gaiser wrote:
> > I don't know the konqueror code, but i don't think this is the right way to do it. Imho it shouldn't even be inserted in the first place. Though someone else would have to confirm.
> 
> Martin Koller wrote:
>     Well, I see it this way: there is the list of completion strings coming from the completer.
>     And there is the history.
>     Both things shall be shown here.
>     "should not be inserted" is what this patch is about, by filtering the ones which are in both lists.

As i said, i don't know the konqueror code :)
But the way you describe it does lead me to think that you've done it right. Still, someone else will have to give you the OK.


- Mark


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


On Aug. 15, 2012, 5:24 p.m., Martin Koller wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106046/
> -----------------------------------------------------------
> 
> (Updated Aug. 15, 2012, 5:24 p.m.)
> 
> 
> Review request for KDE Base Apps.
> 
> 
> Description
> -------
> 
> When opening e.g. "man:mdoc.samples" as URL in konqueror, the next time I type "man:mdoc" konqueror shows "man:mdoc, man:mdoc.samples, man:mdoc.samples" in the completion box (history list is added to completion list giving duplicates)
> This patch simply avoids having duplicates in that list.
> 
> 
> Diffs
> -----
> 
>   konqueror/src/konqmainwindow.cpp c5468f9 
> 
> Diff: http://git.reviewboard.kde.org/r/106046/diff/
> 
> 
> Testing
> -------
> 
> yes
> 
> 
> Thanks,
> 
> Martin Koller
> 
>

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


More information about the kde-core-devel mailing list