From 9042e7860dc6378d28bbca282852087005d3d46c Mon Sep 17 00:00:00 2001 From: nowrep Date: Sun, 11 Mar 2012 16:49:14 +0100 Subject: [PATCH] Fixed Duplicate tab feature. Regression from previous commit. --- src/lib/webview/tabwidget.cpp | 2 +- src/lib/webview/webviewsettings.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/webview/tabwidget.cpp b/src/lib/webview/tabwidget.cpp index 4d53f89b2..3d86512bc 100644 --- a/src/lib/webview/tabwidget.cpp +++ b/src/lib/webview/tabwidget.cpp @@ -475,7 +475,7 @@ int TabWidget::duplicateTab(int index) int id = addView(req, tabText(index), Qz::NT_CleanNotSelectedTab); QDataStream historyStream(history); - historyStream >> *view->history(); + historyStream >> *weTab(id)->history(); return id; } diff --git a/src/lib/webview/webviewsettings.cpp b/src/lib/webview/webviewsettings.cpp index 1e95046d8..bffacf591 100644 --- a/src/lib/webview/webviewsettings.cpp +++ b/src/lib/webview/webviewsettings.cpp @@ -18,4 +18,3 @@ void WebViewSettings::loadSettings() settings.endGroup(); } -