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:
parent
c1d8b6211c
commit
dcf17f34c7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user