[rekonq] Review Request: Refactor Tab Population

David Narváez david.narvaez at computer.org
Wed Jan 25 21:59:14 UTC 2012



> On Jan. 25, 2012, 8:48 p.m., Andrea Diamantini wrote:
> > The different ways to retrieve the mainview pointer IS the motivation because there are 3 methods. Refactor this code means consider this part, not just remove two calls and substitute them. Testing has obviously to be done for crash restore, session restore, private browsing restore.

I'm not clear if this means you do not agree with the patch or you do agree that there's nothing else we can factor out from the original code.


- David


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


On Jan. 21, 2012, 6:38 p.m., David Narváez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103755/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2012, 6:38 p.m.)
> 
> 
> Review request for rekonq.
> 
> 
> Description
> -------
> 
> Factor out the code to restore tabs into a main view. This is as much as I think can be factored out of the tab restoration code because, even when each call to restoreTabsInMainView is surrounded by a for loop, each loops has a different way of getting the MainView pointer, but if someone has a better idea I'm open to suggestions.
> 
> 
> Diffs
> -----
> 
>   src/sessionmanager.cpp 74e9603 
> 
> Diff: http://git.reviewboard.kde.org/r/103755/diff/diff
> 
> 
> Testing
> -------
> 
> Usual test cases:
> 1) Crash the session with killall rekonq
> 2) Restore with logout/log back in
> 3) Close windows and restore
> 
> 
> Thanks,
> 
> David Narváez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rekonq/attachments/20120125/1e878fb1/attachment.html>


More information about the rekonq mailing list