summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-10 01:14:00 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-10 01:14:00 +0100
commit681318fb5c294e77f28e3f66275c258254764242 (patch)
tree02e9ab1a89728a95ccb7d21a647e7ecfdec4ddc5
parentMerge commit 'refs/merge-requests/65' of git://gitorious.org/rekonq/mainline ... (diff)
parentdo not crash when closing WebView that didn't load successfully (diff)
downloadrekonq-681318fb5c294e77f28e3f66275c258254764242.tar.xz
Merge commit 'refs/merge-requests/66' of git://gitorious.org/rekonq/mainline into r66
-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());
}