summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index c015a941..5842ae4f 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -91,11 +91,12 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
// An HTML form was submitted a second time.
case QWebPage::NavigationTypeFormResubmitted:
kDebug() << "NavigationTypeFormResubmitted";
-
+ break;
// A navigation to another document using a method not listed above.
case QWebPage::NavigationTypeOther:
kDebug() << "NavigationTypeOther";
+ break;
// user clicked on a link or pressed return on a focused link.
case QWebPage::NavigationTypeLinkClicked:
@@ -129,14 +130,6 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
break;
- // An HTML form was submitted a second time.
- case QWebPage::NavigationTypeFormResubmitted:
- break;
-
- // A navigation to another document using a method not listed above.
- case QWebPage::NavigationTypeOther:
- break;
-
// should be nothing..
default:
kDebug() << "Default NON existant case..";