> On Jan. 15, 2011, 10:53 p.m., Benjamin Poulain wrote:
> > src/history/historymanager.h, line 79
> > <http://git.reviewboard.kde.org/r/100396/diff/1/?file=7140#file7140line79>
> >
> > Just an idea...
> > What about a weigthed sum of both to determine the order?
> >
> > With an absolute measure of either one you can end up in those
> > situations:
> >
> > priority visit: a web site visited 3 times 2 months ago will appear
> > before something you saw yersterday
> > priority date: something you saw yesterday appear before something you
> > look every day
> >
> > So it might be nice to take both into account?
I tried:
return (visitCount - other.visitCount) +
dateTime.daysTo(other.dateTime) > 0;
but it doesn't work fine.
Any idea ?
- Lionel
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100396/#review919
-----------------------------------------------------------
On Jan. 15, 2011, 8:23 p.m., Lionel Chauvin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100396/
> -----------------------------------------------------------
>
> (Updated Jan. 15, 2011, 8:23 p.m.)
>
>
> Review request for rekonq.
>
>
> Summary
> -------
>
> Items in the completionlist are sorted by visit count instead of last visit
> date
>
>
> Diffs
> -----
>
> src/history/historymanager.h a4099de
>
> Diff: http://git.reviewboard.kde.org/r/100396/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Lionel
>
>
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq