summaryrefslogtreecommitdiffstats
path: root/examples/xml/xmlstreamlint/doc/src
diff options
context:
space:
mode:
authorVlad Zahorodnii <[email protected]>2025-12-02 13:17:44 +0200
committerVlad Zahorodnii <[email protected]>2025-12-03 00:40:22 +0200
commite727989798fe0a3fede042aad1183afacb1c9f74 (patch)
tree3412c983166cd0fd66c0946beaff1a785f5a42ec /examples/xml/xmlstreamlint/doc/src
parent8d359d61c16641d523e4189a7d473b6126b11011 (diff)
Fix parent control geometry for QToolTip
Amends 4eed22e67ed98ec2565be84a4838955af0faf8b0. The parent control geometry is specified relative to the parent window. However, currently, the QToolTip passes it in the global coordinate system. If you have only one output, it'll work as expected, but with multi-monitor setups, tooltips will be mispositioned. The `if (w)` guard was added to let QtWayland compute a better fallback geometry if no parent widget has been provided to QToolTip::showText(). Change-Id: Ia674c4d41fa00ad341a529268c0bc127e5e182a3 Reviewed-by: David Edmundson <[email protected]> Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'examples/xml/xmlstreamlint/doc/src')
0 files changed, 0 insertions, 0 deletions