summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-02-03 14:51:38 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:47 +0100
commit1c1f1edd697aca0bf96d8d61c40e45166b5f1d02 (patch)
tree0f9a5749078fb02f4b78168820e33a5f016d3ce4 /src
parentChanged strings following pano's recommandations (diff)
downloadrekonq-1c1f1edd697aca0bf96d8d61c40e45166b5f1d02.tar.xz
Remove m_newtabPage. That was not used anywhere !
Diffstat (limited to 'src')
-rw-r--r--src/webpage.cpp7
-rw-r--r--src/webpage.h3
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