From 1269517ca53d02503e6cf4df9541e247b40e4405 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 31 Oct 2010 10:23:15 +0100 Subject: Fix eventual crashes on using page urls.. I know, this should NOT happen. But it does. So, to be sure.. :) --- src/webtab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.1