summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-16 00:20:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-16 00:20:22 +0200
commit2f5349f4975e68dcc41c31e300b92a5335debcef (patch)
tree9767dbbce20f196ca671fc7bb1abad5bbf79b184
parentRemoved some unuseful headers (diff)
downloadrekonq-2f5349f4975e68dcc41c31e300b92a5335debcef.tar.xz
Removed unuseful OpenLinkInNewTab slot
-rw-r--r--src/webview.cpp9
-rw-r--r--src/webview.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 43da9fb8..a30e6d7f 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -71,8 +71,6 @@ WebView::WebView(QWidget* parent)
connect(page(), SIGNAL(statusBarMessage(const QString&)), this, SLOT(setStatusBarText(const QString&)));
connect(this, SIGNAL(loadProgress(int)), this, SLOT(setProgress(int)));
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished()));
-
- connect(this, SIGNAL(openUrlInNewTab(const KUrl &)), this, SLOT(openLinkInNewTab(const KUrl &)));
}
@@ -198,13 +196,6 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
}
-void WebView::openLinkInNewTab(const KUrl &url)
-{
- WebView *that = Application::instance()->newWebView();
- that->load(url);
-}
-
-
void WebView::loadFinished()
{
if (m_progress != 100)
diff --git a/src/webview.h b/src/webview.h
index 30ff73af..84fc33cb 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -64,8 +64,6 @@ private slots:
void loadFinished();
void setStatusBarText(const QString &string);
- void openLinkInNewTab(const KUrl &);
-
private:
WebPage *m_page;