summaryrefslogtreecommitdiffstats
path: root/tests/manual/qopenglwidget/openglwidget
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-02-29 12:48:31 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-03-01 19:00:33 +0100
commit83f73df3e0e07242ce355fa12ae818fbb0ed6d03 (patch)
tree5e836c0e632c8c05b99dc2ef434700b91a5b9890 /tests/manual/qopenglwidget/openglwidget
parent402cb510e1d40825d74447af831918f4a2a951f2 (diff)
QTextEdit::event: refactor into switch statement
Replace if/else snake, made more complex by handling of QT_NO_* configurations. Move the unconditional cases to the top, which also fixes the handling of ShortcutOverride and ToolTip events when Qt was built with QT_NO_CONTEXTMENU. Pick-to: 6.7 Change-Id: I1e2cc2c39e3cef9fe29a71e48595756cff0d2949 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/manual/qopenglwidget/openglwidget')
0 files changed, 0 insertions, 0 deletions