Review Request: avoid duplicate entries in konqueror address completion list

Martin Koller kollix at aon.at
Wed Aug 15 20:14:26 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.

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.


- Martin


-----------------------------------------------------------
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/c68a6be9/attachment.htm>


More information about the kde-core-devel mailing list