--memoryLeak;
svn path=/trunk/KDE/kdelibs/; revision=1129020
This commit is contained in:
parent
162eb8db18
commit
67b79a816c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user