summaryrefslogtreecommitdiffstats
path: root/tests/manual/inputmethodhints/main.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2025-01-13 10:36:56 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2025-01-14 00:39:48 +0100
commit20a401cd9ff3d083d60fd7cea4416b8a54ee5753 (patch)
tree4ef392a3d6ee7c12bbf174301d1b97946f32c482 /tests/manual/inputmethodhints/main.cpp
parent95abc38ba6e586c8e491593ebe4c4b4ee32a79e7 (diff)
QTestLib: handle all Qt::Key values in keyToAscii
Since the function is implemented to return 0 for many non-alpha-numeric keys already, make that the default implementation and remove the Q_ASSERT(false). Instead, emit a warning. Amends 1a820560000c7669812de9e2283a539118b24e51, after which the QQuickShortCut test in Qt Quick trips the assert. Change-Id: I6c6ac0a80043c1bbb7683bc47c1092a12b9cf230 Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> Reviewed-by: Jules Bertholet <julesbertholet@quoi.xyz> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual/inputmethodhints/main.cpp')
0 files changed, 0 insertions, 0 deletions