summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessibleobject.cpp
diff options
context:
space:
mode:
authorDheerendra Purohit <[email protected]>2025-07-02 12:13:23 +0530
committerVolker Hilsheimer <[email protected]>2025-07-02 15:25:59 +0000
commit8649e06a14ef141995a1c63926a6cccd64caa8f6 (patch)
tree6d9482ded555078968552c847b2e600edfd23a1e /src/gui/accessible/qaccessibleobject.cpp
parent091d095c844c30212657a23c8324adb8745408ba (diff)
QScrollBar: Set parent for context menu to match other widgetsHEADdev
The QMenu created by QScrollBar::createStandardContextMenu(QPoint) had no parent, unlike similar widgets like QLineEdit or QTextEdit, which set themselves as the parent. This change sets 'this' as the parent of the QMenu to ensure consistent behavior, proper object ownership, and proper transient window handling. Amends: 75ecb176df837331fdac0c386812f5c36e7a6359 Pick-to: 6.10 Fixes: QTBUG-138049 Change-Id: Ie29fe2100ab91f66eec9f02cd5d768005f78afbc Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/gui/accessible/qaccessibleobject.cpp')
0 files changed, 0 insertions, 0 deletions