diff options
author | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-09 22:23:10 +0100 |
---|---|---|
committer | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-09 22:31:14 +0100 |
commit | f29cff909ea23b9ff064d30b405e6051d6af9ce1 (patch) | |
tree | a9a56fbfafb89fd37b096c4727670b3b0c0c9c39 | |
parent | xss attach prevention. (diff) | |
download | rekonq-f29cff909ea23b9ff064d30b405e6051d6af9ce1.tar.xz |
do not crash when closing WebView that didn't load successfully
-rw-r--r-- | src/mainview.cpp | 2 |
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()); } |