--memoryLeak;

svn path=/trunk/KDE/kdelibs/; revision=1129020
This commit is contained in:
Aaron J. Seigo 2010-05-21 01:53:48 +00:00
parent 162eb8db18
commit 67b79a816c

View File

@ -1227,7 +1227,8 @@ void IconWidget::setInfoText(const QString &text)
d->currentSize = QSizeF(-1, -1);
//try to relayout, needed if an icon was never shown before
if (!isVisible()) {
d->layoutIcons(new QStyleOptionGraphicsItem);
QStyleOptionGraphicsItem styleoption;
d->layoutIcons(&styleoption);
}
resize(sizeFromIconSize(d->iconSize.width()));
updateGeometry();