summaryrefslogtreecommitdiff
path: root/src/newtabpage.cpp
diff options
context:
space:
mode:
authorAnton Kreuzkamp <akreuzkamp@web.de>2011-08-21 12:01:26 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-08-21 12:01:26 +0200
commita0315947c024a3be1d35b4700af7fa653272093e (patch)
treef9a95b5200e144ecb81b50e995fdfc2344dc2482 /src/newtabpage.cpp
parentFix saving in adblock management (diff)
downloadrekonq-a0315947c024a3be1d35b4700af7fa653272093e.tar.xz
Restore tab's history when restoring a tab/session
We finally have it :D CCMAIL: akreuzkamp@web.de REVIEW: 100604 REVIEWED-BY: adjam, elproxy
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r--src/newtabpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp
index 6de35038..761bccd8 100644
--- a/src/newtabpage.cpp
+++ b/src/newtabpage.cpp
@@ -511,7 +511,7 @@ void NewTabPage::closedTabsPage()
{
m_root.addClass(QL1S("closedTabs"));
- QList<HistoryItem> links = rApp->mainWindow()->mainView()->recentlyClosedTabs();
+ QList<TabHistory> links = rApp->mainWindow()->mainView()->recentlyClosedTabs();
if (links.isEmpty())
{
@@ -522,7 +522,7 @@ void NewTabPage::closedTabsPage()
for (int i = 0; i < links.count(); ++i)
{
- HistoryItem item = links.at(i);
+ TabHistory item = links.at(i);
QWebElement prev;
if (item.url.isEmpty())