diff options
Diffstat (limited to 'src')
-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); } |