diff options
| author | David Faure <[email protected]> | 2025-02-10 20:16:16 +0100 |
|---|---|---|
| committer | David Faure <[email protected]> | 2025-02-11 15:46:24 +0100 |
| commit | f0508b7ff3d2393521f49dcb1a9e880bf7665a87 (patch) | |
| tree | bf472a9dc3396fcd732d44b7b3ca53a7d9a11209 /util/cmake/pro2cmake.py | |
| parent | 66261ac0f1f2807916c80b2050536d52b8fe6d3a (diff) | |
QToolButton: allow opening a menu after it first failed because empty
Commit 353ce5344fbde5a6cecbdd2c131e1cf0f4b7f383 made QMenu::exec()
return immediately (without showing the menu), which meant it never
emitted aboutToHide() and QToolButton didn't reset mouseButtonDown.
Therefore, on the next click on the toolbutton (maybe by then the
menu has actions), it won't even try to show it (because mouseButtonDown
is still true).
Pick-to: 6.9 6.8
Task-number: QTBUG-129108
Change-Id: I3f84b9a35eb444fc33d8516c4be130293c04017d
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'util/cmake/pro2cmake.py')
0 files changed, 0 insertions, 0 deletions
