summaryrefslogtreecommitdiff
path: root/src/tabbar.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/tabbar.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/tabbar.cpp')
-rw-r--r--src/tabbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 48a0ad70..2c28573f 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -395,10 +395,10 @@ void TabBar::setupHistoryActions()
if (!isEnabled)
return;
- Q_FOREACH(const HistoryItem & item, mv->recentlyClosedTabs())
+ Q_FOREACH(const TabHistory & item, mv->recentlyClosedTabs())
{
KAction *a = new KAction(rApp->iconManager()->iconForUrl(item.url), item.title, this);
- a->setData(item.url);
+ a->setData(item.history);
connect(a, SIGNAL(triggered()), mv, SLOT(openClosedTab()));
am->addAction(a);
}