1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

Fixed setting WebPage to WebView more than once

This commit is contained in:
nowrep 2012-07-06 14:47:34 +02:00
parent 189193a8b8
commit 2bf1638dea

View File

@ -118,6 +118,10 @@ WebPage* WebView::page() const
void WebView::setPage(QWebPage* page)
{
if (m_page == page) {
return;
}
QWebView::setPage(page);
m_page = qobject_cast<WebPage*>(page);