summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-01-23 23:23:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-01-23 23:23:51 +0100
commitade414e7ec17d267ba2382fadd6be2ed9ea89a45 (patch)
tree465388204a3fdf507df263f3c58e8d67e58be637 /src/webtab.cpp
parentBe sure you need to resolv url... (diff)
downloadrekonq-ade414e7ec17d267ba2382fadd6be2ed9ea89a45.tar.xz
Here we are, with this commit I removed a lot of direct calls to
Application::loadUrl slot and changed it to signals emitted there. This to let rekonq managing them and faster return to the main event loop (and hopefully don't freeze). Next step here is change loadUrl slot to a multithreaded one.
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 908fc7a3..3ff69a2f 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -91,8 +91,6 @@ WebTab::WebTab(QWidget* parent)
connect(m_view, SIGNAL(loadProgress(int)), this, SLOT(updateProgress(int)));
connect(m_view, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished(bool)));
-
- connect(m_view, SIGNAL(linkMiddleOrCtrlClicked(const KUrl &)), this, SLOT(loadInNewTab(const KUrl &)) );
}
@@ -150,12 +148,6 @@ void WebTab::loadFinished(bool)
}
-void WebTab::loadInNewTab(const KUrl &url)
-{
- Application::instance()->loadUrl(url, Rekonq::SettingOpenTab);
-}
-
-
void WebTab::createWalletBar(const QString &key, const QUrl &url)
{
KWebWallet *wallet = page()->wallet();