diff options
author | Dheerendra Purohit <[email protected]> | 2025-07-02 12:13:23 +0530 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2025-07-02 15:25:59 +0000 |
commit | 8649e06a14ef141995a1c63926a6cccd64caa8f6 (patch) | |
tree | 6d9482ded555078968552c847b2e600edfd23a1e /src/widgets/kernel/qgridlayout.cpp | |
parent | 091d095c844c30212657a23c8324adb8745408ba (diff) |
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/widgets/kernel/qgridlayout.cpp')
0 files changed, 0 insertions, 0 deletions