diff options
author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-12-12 19:52:31 +0100 |
---|---|---|
committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-12-12 19:52:31 +0100 |
commit | f53d1718c4ebae3e59ec124a8cce4e4d6eb874c6 (patch) | |
tree | ab6d698891ecf02bcaa741e111563623317da272 /src/mainwindow.cpp | |
parent | Merge branch 'master' of git://gitorious.org/rekonq/mainline into click-to-fl... (diff) | |
parent | Merge commit 'refs/merge-requests/64' of git://gitorious.org/rekonq/mainline (diff) | |
download | rekonq-f53d1718c4ebae3e59ec124a8cce4e4d6eb874c6.tar.xz |
Merge branch 'master' of git://gitorious.org/rekonq/mainline into click-to-flash-ui
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6186ebea..e772baf1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1179,11 +1179,8 @@ bool MainWindow::newTabPage(const KUrl &url) ) { m_loadingNewTabPage = true; - kDebug() << "loading home: " << url; - WebView *w = currentTab(); - NewTabPage p; - QString html = p.newTabPageCode(url); - w->setHtml(html, url); + NewTabPage p(currentTab()->page()); + p.generate(url); m_loadingNewTabPage = false; return true; } |