summaryrefslogtreecommitdiffstats
path: root/tests/manual/textrendering/codeeditor/codeeditor.qdoc
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-02-02 15:43:50 +0100
committerMikolaj Boc <mikolaj.boc@qt.io>2023-02-08 20:07:40 +0100
commita1867208a654509c85a54914d1fe6178675c7fdc (patch)
tree381a928a89101a73b7df4f3123da1656b20b3324 /tests/manual/textrendering/codeeditor/codeeditor.qdoc
parentd3dfe5a3b7e657b088f4e77e36b8d57229a13733 (diff)
wasm: Don't grab menu bar item shortcuts on Mac
On Mac there's no concept of menu bar alt+key shortcuts. Therefore we cannot expect users on Mac, even when in a web application, to be familiar with those. Additionally, alt+key combinations yield special characters on Mac so that is the behavior we should support in WASM apps on Mac. To disable the menu bar item shortcuts, a new platform style hint UnderlineShortcut was created. Shortcut grabbing was disabled exactly the same as on regular Mac builds, i.e. through qt_set_sequence_auto_mnemonic. Task-number: QTBUG-76587 Change-Id: Ice6ed123c01e46b58d6d2c3e639813161b5a9a40 Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/manual/textrendering/codeeditor/codeeditor.qdoc')
0 files changed, 0 insertions, 0 deletions