summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index a609ead0..14373db9 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -134,7 +134,8 @@ WebView::~WebView()
WebPage *WebView::page()
{
- WebPage *page = qobject_cast<WebPage *>(KWebView::page());
+ WebPage *const page = qobject_cast<WebPage *>(KWebView::page());
+ Q_ASSERT(page);
return page;
}