[rekonq] Re: Review Request: Save downloaded images of opensearch suggestions like websnaps

Lionel Chauvin megabigbug at yahoo.fr
Mon Jan 17 17:18:15 CET 2011



> On Jan. 17, 2011, 11:15 a.m., Andrea Diamantini wrote:
> > src/urlbar/listitem.cpp, line 402
> > <http://git.reviewboard.kde.org/r/100397/diff/1/?file=7142#file7142line402>
> >
> >     Should not we check if image exists, before?
> 
> Lionel Chauvin wrote:
>     It should not happen but I can remove the previous (hypothetical) pixmap if you want.
> 
> Andrea Diamantini wrote:
>     I was really thinking about the opposite. Why should we need to save another pixmap if we just have one? If you think instead that pixmap needs everytime to be updated, I have no more objections here and you can merge this code yourself or ask me to do it.

"Why should we need to save another pixmap if we just have one? "
It should never happen because we download and save the pixmap only if it doesn't already exists.
See line 371.

There is an hypothetical case where a file has been created while the rekonq tried to download the pixmap.
 


- Lionel


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


On Jan. 15, 2011, 8:28 p.m., Lionel Chauvin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100397/
> -----------------------------------------------------------
> 
> (Updated Jan. 15, 2011, 8:28 p.m.)
> 
> 
> Review request for rekonq.
> 
> 
> Summary
> -------
> 
> Save downloaded images of opensearch suggestions like websnaps
> 
> 
> Diffs
> -----
> 
>   src/urlbar/listitem.h 30089ce 
>   src/urlbar/listitem.cpp f7514f2 
> 
> Diff: http://git.reviewboard.kde.org/r/100397/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Lionel
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/rekonq/attachments/20110117/1eecca9f/attachment.htm 


More information about the rekonq mailing list