From 36dfab989554c2303df9d671885f3cee11491589 Mon Sep 17 00:00:00 2001 From: nowrep Date: Fri, 13 Jul 2012 22:45:40 +0200 Subject: [PATCH] Fixed loading url on new tab from preferences. - regression from 14e0040a9fcb55348f44970d002431f0e4eb2a72 --- src/lib/webview/tabwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/webview/tabwidget.cpp b/src/lib/webview/tabwidget.cpp index 7823694d6..bb607e315 100644 --- a/src/lib/webview/tabwidget.cpp +++ b/src/lib/webview/tabwidget.cpp @@ -314,6 +314,7 @@ int TabWidget::addView(QNetworkRequest req, const QString &title, const Qz::NewT connect(webView, SIGNAL(ipChanged(QString)), p_QupZilla->ipLabel(), SLOT(setText(QString))); if (url.isValid()) { + req.setUrl(url); webView->load(req); }