diff options
author | David E. Narváez <david.narvaez@computer.org> | 2012-01-28 08:06:14 -0500 |
---|---|---|
committer | David E. Narváez <david.narvaez@computer.org> | 2012-01-28 08:06:14 -0500 |
commit | 8a83079d858984c4075c9f1a5ecff2d0a83b7e5a (patch) | |
tree | ced840b20cf8c258ad1b5ff86841877bcec2f44d /src | |
parent | rekonq 0.8.72 (diff) | |
download | rekonq-8a83079d858984c4075c9f1a5ecff2d0a83b7e5a.tar.xz |
Always Create New Tabs
Commit 5b07ae28 introduced a bug here because no tab is now created by
default in the restoring window
BUG: 292586
Diffstat (limited to 'src')
-rw-r--r-- | src/sessionmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp index 6e4ed7dc..0ef0b827 100644 --- a/src/sessionmanager.cpp +++ b/src/sessionmanager.cpp @@ -287,7 +287,7 @@ bool SessionManager::restoreMainWindow(MainWindow* window) if (tab.hasAttribute("currentTab")) currentTab = tabNo; - WebView *view = (tabNo == 0) ? mv->webTab(0)->view() : mv->newWebTab()->view(); + WebView *view = mv->newWebTab()->view(); QDomCDATASection historySection = tab.firstChild().toCDATASection(); QByteArray history = QByteArray::fromBase64(historySection.data().toAscii()); |