diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-10-31 10:23:15 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-10-31 10:23:15 +0100 |
commit | 1269517ca53d02503e6cf4df9541e247b40e4405 (patch) | |
tree | 4e46e28bb0dd270f54ff234c6371ad288690c4af /src/webtab.cpp | |
parent | rekonq 0.6.53 (diff) | |
download | rekonq-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.cpp | 2 |
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(); |