summaryrefslogtreecommitdiff
path: root/src/rekonqpage/newtabpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-19 12:37:46 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-19 12:37:46 +0100
commit060909220bad6842828f2583213dc96c285b5fd9 (patch)
treeff6d855a17aff7ac26b31e48b1adbd69142e3178 /src/rekonqpage/newtabpage.cpp
parentSave memory. (diff)
downloadrekonq-060909220bad6842828f2583213dc96c285b5fd9.tar.xz
change setHtml( string ) to setHtml( string, url ) to let webviews
return an url on webview->url() calls
Diffstat (limited to 'src/rekonqpage/newtabpage.cpp')
-rw-r--r--src/rekonqpage/newtabpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rekonqpage/newtabpage.cpp b/src/rekonqpage/newtabpage.cpp
index f7ebcdbf..cc8aa1fb 100644
--- a/src/rekonqpage/newtabpage.cpp
+++ b/src/rekonqpage/newtabpage.cpp
@@ -95,7 +95,7 @@ void NewTabPage::generate(KUrl url)
}
QWebPage *page = m_root.webFrame()->page();
- page->mainFrame()->setHtml(m_html);
+ page->mainFrame()->setHtml(m_html,m_url);
m_root = page->mainFrame()->documentElement().findFirst("#content");