call the parent class' resizeEvent as well

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809571
This commit is contained in:
Aaron J. Seigo 2008-05-19 05:25:33 +00:00
parent d242cde2cf
commit 5c7589a741
3 changed files with 3 additions and 5 deletions

View File

@ -149,9 +149,8 @@ QLabel* Label::nativeWidget() const
void Label::resizeEvent(QGraphicsSceneResizeEvent *event)
{
Q_UNUSED(event)
d->setPixmap(this);
widget()->resize(size().toSize());
QGraphicsProxyWidget::resizeEvent(event);
}
} // namespace Plasma

View File

@ -145,8 +145,8 @@ QLineEdit* LineEdit::nativeWidget() const
void LineEdit::resizeEvent(QGraphicsSceneResizeEvent *event)
{
Q_UNUSED(event)
d->setPixmap(this);
QGraphicsProxyWidget::resizeEvent(event);
}
} // namespace Plasma

View File

@ -145,9 +145,8 @@ QString <Name>::stylesheet()
void <Name>::resizeEvent(QGraphicsSceneResizeEvent *event)
{
Q_UNUSED(event)
d->setPixmap(this);
widget()->resize(size().toSize());
QGraphicsProxyWidget::resizeEvent(event);
}
} // namespace Plasma