call the parent class' resizeEvent as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809571
This commit is contained in:
parent
d242cde2cf
commit
5c7589a741
@ -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
|
||||
|
@ -145,8 +145,8 @@ QLineEdit* LineEdit::nativeWidget() const
|
||||
|
||||
void LineEdit::resizeEvent(QGraphicsSceneResizeEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
d->setPixmap(this);
|
||||
QGraphicsProxyWidget::resizeEvent(event);
|
||||
}
|
||||
|
||||
} // namespace Plasma
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user