From 447e75df1610cc232a6bdb538da188a902099e1e Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 10 Apr 2009 19:26:02 +0200 Subject: no need for shortcuts in pointer menu.. --- src/webview.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/webview.cpp') 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; } -- cgit v1.2.1