From cb21e318076c30c906582ad3ce6e138ed5f6ce65 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 9 Feb 2012 12:33:43 +0100 Subject: Clean up sessionmanager mess :) Create a local function to get rid of code repetition. I know this is a bit hackish (at least the way I did it) but it works well in my tests against the three situations: - restore crashed sessions - restore saved sessions - restore from private sessions - restore user sessions (restarting KDE) --- src/newtabpage.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/newtabpage.cpp') diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index 7392c920..f22f0d50 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -537,8 +537,6 @@ void NewTabPage::tabsPage() for (int i = 0; i < tabCount; ++i) { KUrl url = w->mainView()->webTab(i)->url(); - if (url.protocol() == QL1S("about")) - continue; if (!WebSnap::existsImage(url)) { -- cgit v1.2.1