summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 8722dd58..3162e755 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -123,6 +123,12 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
// user activated a submit button for an HTML form.
case QWebPage::NavigationTypeFormSubmitted:
kDebug() << "NavigationTypeFormSubmitted";
+ kDebug() << request.url();
+ break;
+
+ // An HTML form was submitted a second time.
+ case QWebPage::NavigationTypeFormResubmitted:
+ kDebug() << "NavigationTypeFormResubmitted";
break;
// Navigation to a previously shown document in the back or forward history is requested.
@@ -152,13 +158,9 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
break;
- // An HTML form was submitted a second time.
- case QWebPage::NavigationTypeFormResubmitted:
- kDebug() << "NavigationTypeFormResubmitted";
- break;
-
// should be nothing..
default:
+ kDebug() << "Default NON existant case..";
break;
}