Unnecessary test

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851370
This commit is contained in:
Alex Merry 2008-08-23 15:37:47 +00:00
parent 4a3e5e97fa
commit c6531619cf

View File

@ -202,9 +202,7 @@ void ToolTipManager::unregisterWidget(QGraphicsWidget *widget)
}
widget->removeEventFilter(this);
ToolTip *tooltip = d->tooltips.take(widget);
if (tooltip) {
delete tooltip;
}
delete tooltip;
}
void ToolTipManager::setToolTipContent(QGraphicsWidget *widget, const ToolTipContent &data)