pass on the resize event.

svn path=/trunk/KDE/kdelibs/; revision=1112336
This commit is contained in:
Aaron J. Seigo 2010-04-07 21:42:19 +00:00
parent a6c55a9cf3
commit 9eecf8ba7c

View File

@ -179,7 +179,7 @@ void SpinBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
update();
}
void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *)
void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *event)
{
QStyleOptionSpinBox spinOpt;
spinOpt.initFrom(nativeWidget());
@ -187,6 +187,7 @@ void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *)
if (d->focusIndicator) {
d->focusIndicator->setCustomGeometry(controlrect);
}
QGraphicsProxyWidget::resizeEvent(event);
}
void SpinBox::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)