diff options
author | Axel Spoerl <axel.spoerl@qt.io> | 2022-12-07 14:22:04 +0100 |
---|---|---|
committer | Axel Spoerl <axel.spoerl@qt.io> | 2022-12-09 18:14:23 +0100 |
commit | b4653636a7b83c34d2c3273ee41b11aac48f0f28 (patch) | |
tree | 5dd4e8015045d5130430ee3aaad8ac2415b97f98 /src/3rdparty | |
parent | 9e75a4cca3e4ef55d6d1c6b7dddd8565e3b412d0 (diff) |
Beautify QApplication::compressEvent
Replace if-statement to check compressable event types with a switch.
Replace if / else if sequence dispatching to type specific compression
code paths with a switch.
Replace iterated for loop with a ranged one.
Task-number: QTBUG-107808
Change-Id: I9054b625f1898fa793f78de1b477a2113a4e33f0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions