diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 3 |
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; } |