diff --git a/private/tooltip.cpp b/private/tooltip.cpp index 5d2206b74..9d2614cf6 100644 --- a/private/tooltip.cpp +++ b/private/tooltip.cpp @@ -185,10 +185,7 @@ void ToolTip::checkSize() d->text->setMinimumSize(d->text->minimumSizeHint()); d->text->setMaximumSize(d->text->maximumSizeHint()); - const QSize previous = size(); adjustSize(); - const QSize current = size(); - } void ToolTip::adjustPosition(const QSize &previous, const QSize ¤t)