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,7 +238,9 @@ void ToolTipManagerPrivate::themeUpdated()
QMapIterator<QGraphicsWidget*, ToolTip *> iterator(tooltips);
while (iterator.hasNext()) {
iterator.next();
iterator.value()->updateTheme();
if (iterator.value()) {
iterator.value()->updateTheme();
}
}
}