diff -r ef0373b55136 -r 758a864f9613 src/gui/graphicsview/qgraphicswidget.cpp --- a/src/gui/graphicsview/qgraphicswidget.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/gui/graphicsview/qgraphicswidget.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -385,12 +385,12 @@ if (wd->inSetPos) { //set the new pos d->geom.moveTopLeft(pos()); + emit geometryChanged(); return; } } QSizeF oldSize = size(); QGraphicsLayoutItem::setGeometry(newGeom); - emit geometryChanged(); // Send resize event bool resized = newGeom.size() != oldSize; if (resized) { @@ -403,6 +403,7 @@ emit heightChanged(); QApplication::sendEvent(this, &re); } + emit geometryChanged(); } /*! @@ -936,7 +937,9 @@ QFont QGraphicsWidget::font() const { Q_D(const QGraphicsWidget); - return d->font; + QFont fnt = d->font; + fnt.resolve(fnt.resolve() | d->inheritedFontResolveMask); + return fnt; } void QGraphicsWidget::setFont(const QFont &font) {