return a geometry that makes sense or will have layouts problems forever
(actually just always return QGraphicsWidget::geometry() would make even more sense) svn path=/trunk/KDE/kdelibs/; revision=1087924
This commit is contained in:
parent
a43026ec4e
commit
1aa1d4b2f0
@ -124,7 +124,7 @@ QString WebView::html() const
|
||||
QRectF WebView::geometry() const
|
||||
{
|
||||
if (d->loaded && d->page) {
|
||||
return d->page->mainFrame()->geometry();
|
||||
return QRectF(pos(), d->page->mainFrame()->geometry().size());
|
||||
}
|
||||
|
||||
return QGraphicsWidget::geometry();
|
||||
|
Loading…
Reference in New Issue
Block a user