summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qxkbcommon.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2023-09-04 17:55:47 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2023-09-28 15:33:04 +0200
commit6a7b7272cd6ce6b8264796c25b686bf5376b8aea (patch)
tree18707e9a14c885b2abbb5b9b501fbda55cd1c33e /src/gui/platform/unix/qxkbcommon.cpp
parent02d8dc5f8c346e7ce0656511c75c3d7c70538536 (diff)
Deduplicate code in setup of serialization converters
The setup of the input and output converters is fairly complex but was made harder to read by nearly-duplicating its logic for input and for output. Break out into a separate function to make clear what parts differ between the two and what parts don't. In the process, allow the search for a named converter to continue past a match that doesn't support the needed direction, on the off chance of a name collision. Make an error message more articulate in the process. Pick-to: 6.6 6.5 Task-number: QTBUG-111228 Change-Id: I2a9de8b406c538098076f388fc8a1980b91fe16b Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qxkbcommon.cpp')
0 files changed, 0 insertions, 0 deletions