summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index d190507e..4437936d 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -547,7 +547,7 @@ void MainView::webViewLoadFinished(bool ok)
// KWallet Integration
// TODO: Add check for sites exempt from automatic form filling...
- if (webView->page()->wallet())
+ if (webView && webView->page() && webView->page()->wallet())
{
webView->page()->wallet()->fillFormData(webView->page()->mainFrame());
}