summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-10-31 10:23:15 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-10-31 10:23:15 +0100
commit1269517ca53d02503e6cf4df9541e247b40e4405 (patch)
tree4e46e28bb0dd270f54ff234c6371ad288690c4af /src/webtab.cpp
parentrekonq 0.6.53 (diff)
downloadrekonq-1269517ca53d02503e6cf4df9541e247b40e4405.tar.xz
Fix eventual crashes on using page urls..
I know, this should NOT happen. But it does. So, to be sure.. :)
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 9ed43d45..0a55060b 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -86,7 +86,7 @@ WebTab::~WebTab()
KUrl WebTab::url()
{
- if(page()->isOnRekonqPage())
+ if(page() && page()->isOnRekonqPage())
return page()->loadingUrl();
return view()->url();