diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-19 12:37:46 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-19 12:37:46 +0100 |
commit | 060909220bad6842828f2583213dc96c285b5fd9 (patch) | |
tree | ff6d855a17aff7ac26b31e48b1adbd69142e3178 /src/rekonqpage | |
parent | Save memory. (diff) | |
download | rekonq-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')
-rw-r--r-- | src/rekonqpage/newtabpage.cpp | 2 |
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"); |