diff options
-rw-r--r-- | src/webpage.cpp | 7 | ||||
-rw-r--r-- | src/webpage.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 340e9805..f2ea412d 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -72,7 +72,6 @@ WebPage::WebPage(QObject *parent) : KWebPage(parent, KWalletIntegration) - , m_newTabPage(new NewTabPage(mainFrame() )) { setForwardUnsupportedContent(true); @@ -104,12 +103,6 @@ WebPage::~WebPage() } -NewTabPage* WebPage::newTabPage() -{ - return m_newTabPage; -} - - bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, NavigationType type) { // advise users on resubmitting data diff --git a/src/webpage.h b/src/webpage.h index da91ea5c..c8ecc89a 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -55,8 +55,6 @@ class WebPage : public KWebPage public: explicit WebPage(QObject *parent = 0); ~WebPage(); - - NewTabPage *newTabPage(); public slots: void manageNetworkErrors(QNetworkReply *reply); @@ -80,7 +78,6 @@ private: QUrl m_requestedUrl; ProtocolHandler m_protHandler; - NewTabPage *m_newTabPage; }; #endif |