diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-04-06 15:18:22 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-07 07:48:19 (GMT) |
commit | 35667fd45ada49269a5987c235fdedfc43e92bb8 (patch) | |
tree | 72981d0693f61777e17eb8871c81604626d788a1 /src/gui/graphicsview/qgraphicslayout.cpp | |
parent | 3336a02eebfea039fc56355769072aefbca0ba55 (diff) | |
download | Qt-35667fd45ada49269a5987c235fdedfc43e92bb8.zip Qt-35667fd45ada49269a5987c235fdedfc43e92bb8.tar.gz Qt-35667fd45ada49269a5987c235fdedfc43e92bb8.tar.bz2 |
BT: Fix regression when tooltips dissappear suddenly in Unified toolbar
QWidget::childAt() makes some assumptions about its children (they are
all contained in its geometry). This does not hold up when using the
unified toolbar because the toolbar ends up in the "non-client" area.
So, when dispatching an enter/leave event in tooltip show, we end up
dispatching to the wrong widgets and that results in the tooltip
cleverly thinking that it needs to hide itself because we've left the
widget that needs the tooltip. I've special cased this by just having a
"native" mapFromParent() that is only called for on the mac, though
there is nothing that is limiting this from being called on other
platfroms.
Also QWidget::mapFromParent() probably needs to be looked at at some
point.
Task-number: 248048
Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit 640f2c732c6fd76866cd7e601a9140dbe7849e6f)
Diffstat (limited to 'src/gui/graphicsview/qgraphicslayout.cpp')
0 files changed, 0 insertions, 0 deletions