diff --git a/widgets/icon.cpp b/widgets/icon.cpp index 9043a543a..48aa80560 100644 --- a/widgets/icon.cpp +++ b/widgets/icon.cpp @@ -975,8 +975,6 @@ void Icon::setText(const QString& text) { d->text = text; // cause a relayout - // FIXME: is invalidating d->currentSize really necessary? - // FIXME: is d->currentSize really necessary at all? d->currentSize = QSizeF(-1, -1); resize(sizeFromIconSize(d->iconSize.width())); } @@ -990,8 +988,6 @@ void Icon::setInfoText(const QString& text) { d->infoText = text; // cause a relayout - // FIXME: is invalidating d->currentSize really necessary? - // FIXME: is d->currentSize really necessary at all? d->currentSize = QSizeF(-1, -1); resize(sizeFromIconSize(d->iconSize.width())); }