----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/103755/#review10084 -----------------------------------------------------------
src/sessionmanager.cpp <http://git.reviewboard.kde.org/r/103755/#comment8322> This code is used to restore session from scratch, that is when rekonq didn't crash and you just choose in the settings to restore tabs at startup. As we created a newMainWindow(false), we need to "newWebTab" here. - Andrea Diamantini 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 > >
_______________________________________________ rekonq mailing list [email protected] https://mail.kde.org/mailman/listinfo/rekonq
