this is really up to the widgets to get right (e.g by not registering until they are initialized); this prevnets a HUGE number of calls to Plasma::viewFor
svn path=/trunk/KDE/kdelibs/; revision=1123249
This commit is contained in:
parent
80bc92740f
commit
f0ea5031fb
@ -432,14 +432,7 @@ bool ToolTipManager::eventFilter(QObject *watched, QEvent *event)
|
||||
break;
|
||||
}
|
||||
|
||||
// If the mouse is in the widget's area at the time that it is being
|
||||
// created the widget can receive a hover event before it is fully
|
||||
// initialized, in which case view() will return 0.
|
||||
QGraphicsView *parentView = viewFor(widget);
|
||||
if (parentView) {
|
||||
show(widget);
|
||||
}
|
||||
|
||||
show(widget);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user