pass on the resize event.
svn path=/trunk/KDE/kdelibs/; revision=1112336
This commit is contained in:
parent
a6c55a9cf3
commit
9eecf8ba7c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user