diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-03 11:34:13 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-03 11:34:13 +0200 |
commit | 0ccfc03c8b0214575459325ac0555c26e458af45 (patch) | |
tree | 5f95599385306cedaef1296e1dbbe3b90ca684d2 /src/webpage.cpp | |
parent | A great step forward.. (diff) | |
download | rekonq-0ccfc03c8b0214575459325ac0555c26e458af45.tar.xz |
Simpler WebPage::acceptNavigationRequest
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 14 |
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); } |