summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-04 11:50:43 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-04 11:50:43 +0200
commit3f522f6a6729d8662e98dccba4f3b7e0b9a5cc5e (patch)
treee280eaf23fe6a16735634ad3c2e2ba184f67cbe0 /src/webview.cpp
parentnew (and simpler) createWindow implementation.. (diff)
downloadrekonq-3f522f6a6729d8662e98dccba4f3b7e0b9a5cc5e.tar.xz
webview acceptNavigationRequest fixes
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;
}