diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-02-09 12:33:43 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-02-09 12:33:43 +0100 |
commit | cb21e318076c30c906582ad3ce6e138ed5f6ce65 (patch) | |
tree | ce524f1e1d445c92e78b9fdb036141377745faa8 /src/newtabpage.cpp | |
parent | Get SURE window exists (diff) | |
download | rekonq-cb21e318076c30c906582ad3ce6e138ed5f6ce65.tar.xz |
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)
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r-- | src/newtabpage.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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)) { |