From dcf17f34c79da6ddd99fafcaa45eb0b58e73826f Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 18 Feb 2010 19:54:47 +0000 Subject: [PATCH] Fix widgets/webview.cpp:270: error: control reaches end of non-void function svn path=/trunk/KDE/kdelibs/; revision=1092367 --- widgets/webview.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widgets/webview.cpp b/widgets/webview.cpp index e88bc2dbb..bca86c35c 100644 --- a/widgets/webview.cpp +++ b/widgets/webview.cpp @@ -264,9 +264,8 @@ QVariant WebView::itemChange(GraphicsItemChange change, const QVariant &value) // WebCore::PopupMenu::show() due to hostWindow()->platformPageClient() == NULL // because QWebPage::d->client is NULL d->webView->page()->setView(viewFor(this)); - } else { - return QGraphicsWidget::itemChange(change, value); } + return QGraphicsWidget::itemChange(change, value); } void WebView::setGeometry(const QRectF &geometry)