diff --git a/widgets/icon.cpp b/widgets/icon.cpp index 911067742..d4cd77a50 100644 --- a/widgets/icon.cpp +++ b/widgets/icon.cpp @@ -341,11 +341,6 @@ void Icon::setNumDisplayLines(int numLines) } } -QSizeF Icon::sizeHint() const -{ - return size(); -} - void Icon::setDrawBackground(bool draw) { if (d->drawBg != draw) { diff --git a/widgets/icon.h b/widgets/icon.h index 3a812fc86..48a082248 100644 --- a/widgets/icon.h +++ b/widgets/icon.h @@ -179,11 +179,6 @@ public: */ void setNumDisplayLines(int numLines); - /** - * @return the recommended size of the widget - */ - QSizeF sizeHint() const; - /** * Sets whether or not to draw a background area for the icon *