summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/dialogs
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-03-28 16:16:25 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-03-31 14:10:04 +0200
commitf0379771528c71f477b68dfad3095518e4362872 (patch)
tree4a508b699e369d51c214dc4c6c6ce1cb597d7f8d /tests/auto/widgets/dialogs
parentf9594cefef0d86b33d21319fefe4fa71049416c7 (diff)
QWSI: Remove handleFrameStrutMouseEvent in favor of handleMouseEvent+type
The handleMouseEvent function already takes a QEvent::Type, where clients pass in the corresponding mouse press/release/move type. The same applies to the handleFrameStrutMouseEvent. To avoid the chance that clients call these functions with a conflicting event type (handleFrameStrutMouseEvent with MouseButtonPress instead of NonClientAreaMouseButtonPress e.g.), we remove handleFrameStrutMouseEvent altogether and just let clients use the handleMouseEvent function directly with the correct event type. Change-Id: I4a0241c39aedac0d2d8d5163ba05cde72605959c Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'tests/auto/widgets/dialogs')
0 files changed, 0 insertions, 0 deletions