diff options
author | Michael Weghorn <[email protected]> | 2025-06-17 11:20:51 +0200 |
---|---|---|
committer | Michael Weghorn <[email protected]> | 2025-06-25 17:36:59 +0200 |
commit | db2792dd8609ab5ff4f3151e15036de7ffd538e9 (patch) | |
tree | 0032a6d4a5cf71b492e4c318b09df094e40d7953 /tools/svgtoqml/main.cpp | |
parent | bf869c72b353c00a7ed4d2d1bf0e2f668312b19a (diff) |
When setting the accessible name for a QQuickAbstractButton,
don't include the ampersand ('&') character that denotes the
mnemonic character, and don't escape literal ampersand characters
by doubling them.
Use the same helper function also used by widgets in qtbase
to strip those extra ampersand characters.
Add a corresponding test.
Fixes: QTBUG-134208
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I0da58564ef028cda3c1cc1cecbaacbb4e9d92c17
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'tools/svgtoqml/main.cpp')
0 files changed, 0 insertions, 0 deletions