Fix widgets/webview.cpp:270: error: control reaches end of non-void function

svn path=/trunk/KDE/kdelibs/; revision=1092367
This commit is contained in:
David Faure 2010-02-18 19:54:47 +00:00
parent c1d8b6211c
commit dcf17f34c7

View File

@ -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)