diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 13b8fe61..ee54bbaa 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -76,8 +76,6 @@ MainWindow *WebPage::mainWindow() bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, NavigationType type) { - kWarning() << "Accepting Navigation Request.."; - QString scheme = request.url().scheme(); if (scheme == QLatin1String("mailto") ) { @@ -102,7 +100,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r // user clicked on a link or pressed return on a focused link. case QWebPage::NavigationTypeLinkClicked: - kWarning() << "Navigation Type LINKCLICKED.."; +// kWarning() << "Navigation Type LINKCLICKED.."; if(m_keyboardModifiers & Qt::ControlModifier || m_pressedButtons == Qt::MidButton) { @@ -134,32 +132,32 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r // user activated a submit button for an HTML form. case QWebPage::NavigationTypeFormSubmitted: - kWarning() << "Navigation Type Form Submitted.."; +// kWarning() << "Navigation Type Form Submitted.."; break; // Navigation to a previously shown document in the back or forward history is requested. case QWebPage::NavigationTypeBackOrForward: - kWarning() << "Navigation Type BackOrForward.."; +// kWarning() << "Navigation Type BackOrForward.."; break; // user activated the reload action. case QWebPage::NavigationTypeReload: - kWarning() << "Navigation Type Reload.."; +// kWarning() << "Navigation Type Reload.."; break; // An HTML form was submitted a second time. case QWebPage::NavigationTypeFormResubmitted: - kWarning() << "Navigation Type Form Resubmitted.."; +// kWarning() << "Navigation Type Form Resubmitted.."; break; // A navigation to another document using a method not listed above. case QWebPage::NavigationTypeOther: - kWarning() << "Navigation Type OTHER.."; +// kWarning() << "Navigation Type OTHER.."; break; // should be nothing.. default: - kWarning() << "Default NON existant case.."; +// kWarning() << "Default NON existant case.."; break; } |