summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-09-24 17:47:01 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit29e891b3b146540d69a6377f1a557b246e8b8c68 (patch)
treed5cff4e1d2ad4179013aab4dcaf366597f7702ca /src/webtab
parentsetting a decent minimum size... (diff)
downloadrekonq-29e891b3b146540d69a6377f1a557b246e8b8c68.tar.xz
rekonq new tab page restored :)
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/protocolhandler.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/webtab/protocolhandler.cpp b/src/webtab/protocolhandler.cpp
index ab2f0b8e..dd5527bd 100644
--- a/src/webtab/protocolhandler.cpp
+++ b/src/webtab/protocolhandler.cpp
@@ -36,7 +36,8 @@
#include "webpage.h"
#include "webtab.h"
#include "urlbar.h"
-// #include "newtabpage.h"
+
+#include "newtabpage.h"
// KDE Includes
#include <KIO/Job>
@@ -169,8 +170,8 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra
WebPage *page = qobject_cast<WebPage *>(frame->page());
page->setIsOnRekonqPage(true);
-// FIXME NewTabPage p(frame);
-// p.generate(_url);
+ NewTabPage p(frame);
+ p.generate(_url);
return true;
}