summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicslayout.cpp
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-06 15:18:22 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-07 07:48:19 (GMT)
commit35667fd45ada49269a5987c235fdedfc43e92bb8 (patch)
tree72981d0693f61777e17eb8871c81604626d788a1 /src/gui/graphicsview/qgraphicslayout.cpp
parent3336a02eebfea039fc56355769072aefbca0ba55 (diff)
downloadQt-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