diff --git a/widgets/icon.cpp b/widgets/icon.cpp index e8e59782d..911067742 100644 --- a/widgets/icon.cpp +++ b/widgets/icon.cpp @@ -343,7 +343,7 @@ void Icon::setNumDisplayLines(int numLines) QSizeF Icon::sizeHint() const { - return d->currentSize; + return size(); } void Icon::setDrawBackground(bool draw)