the tip can be null

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=837827
This commit is contained in:
Aaron J. Seigo 2008-07-25 20:18:54 +00:00
parent 12ec0f5c2b
commit 263870d46d

View File

@ -238,9 +238,11 @@ void ToolTipManagerPrivate::themeUpdated()
QMapIterator<QGraphicsWidget*, ToolTip *> iterator(tooltips);
while (iterator.hasNext()) {
iterator.next();
if (iterator.value()) {
iterator.value()->updateTheme();
}
}
}
void ToolTipManagerPrivate::onWidgetDestroyed(QObject *object)
{