summaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-07-03 11:06:37 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-08-17 21:54:34 +0200
commitd1111632e29124531d5b4512e0492314caaae396 (patch)
tree15bdf8c7f348b236a90f5ef59ceec4ce91ee4af1 /.qmake.conf
parent81159cf3f7c47dbab4c781f3b4ffa9e0a202b1dc (diff)
Introduce QEvent::isInputEvent
This makes it easier to reliably maintain input-event related states in widgets, in particluar the state of keyboard modifiers. Instead of testing for all possible event types, code can just test the flag before safely static_cast'ing to QInputEvent to access the modifiers. Simplify the code in QAbstractItemView accordingly. Task-number: QTBUG-73829 Change-Id: Idc7c08e2f3f1e8844f5c6693c195153038ee6490 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions