diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-08-10 20:36:44 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-08-13 20:50:36 +0200 |
| commit | 62418c58a58fac668e713655552b1c614b226298 (patch) | |
| tree | 33997f4913c95c8a6dd2bd10a1cf3acb02439eee /src/dolphinmainwindow.cpp | |
| parent | 4b70446c17dff6646c11966670bcbe145d07c685 (diff) | |
Use DolphinTabPage saveState/restoreState to remember and re-open closed tabs.
REVIEW: 118968
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 0882bac71..588bfda64 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1058,10 +1058,10 @@ void DolphinMainWindow::setupActions() DolphinRecentTabsMenu* recentTabsMenu = new DolphinRecentTabsMenu(this); actionCollection()->addAction("closed_tabs", recentTabsMenu); - connect(m_tabWidget, SIGNAL(rememberClosedTab(KUrl,KUrl)), - recentTabsMenu, SLOT(rememberClosedTab(KUrl,KUrl))); - connect(recentTabsMenu, SIGNAL(restoreClosedTab(KUrl,KUrl)), - this, SLOT(openNewActivatedTab(KUrl,KUrl))); + connect(m_tabWidget, SIGNAL(rememberClosedTab(KUrl,QByteArray)), + recentTabsMenu, SLOT(rememberClosedTab(KUrl,QByteArray))); + connect(recentTabsMenu, SIGNAL(restoreClosedTab(QByteArray)), + m_tabWidget, SLOT(restoreClosedTab(QByteArray))); connect(recentTabsMenu, SIGNAL(closedTabsCountChanged(uint)), this, SLOT(closedTabsCountChanged(uint))); |
