summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-10 19:26:02 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-10 19:26:02 +0200
commit447e75df1610cc232a6bdb538da188a902099e1e (patch)
tree2a14cd5354e46886873b60ad5c3c69add100943a /src/webview.cpp
parentFixed some wrong changes (diff)
downloadrekonq-447e75df1610cc232a6bdb538da188a902099e1e.tar.xz
no need for shortcuts in pointer menu..
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp16
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;
}