summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-03 11:34:13 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-03 11:34:13 +0200
commit0ccfc03c8b0214575459325ac0555c26e458af45 (patch)
tree5f95599385306cedaef1296e1dbbe3b90ca684d2 /src/webpage.cpp
parentA great step forward.. (diff)
downloadrekonq-0ccfc03c8b0214575459325ac0555c26e458af45.tar.xz
Simpler WebPage::acceptNavigationRequest
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 337f4a39..6bcc399e 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -96,20 +96,6 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
return false;
}
- if (frame == mainFrame())
- {
- return QWebPage::acceptNavigationRequest(frame, request, type);
- }
- else
- {
- // if frame doesn't exists (perhaps) we are pointing to a blank target..
- if (!frame)
- {
- Application::instance()->loadUrl(request.url(), Rekonq::SettingOpenTab);
- return false;
- }
- }
-
return QWebPage::acceptNavigationRequest(frame, request, type);
}