aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsfunctioninitializer.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2023-02-03 08:06:11 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-04 01:24:06 +0000
commite31abbf8785410d634510443ad9a3c16e1eb04cf (patch)
tree4dcc536c7761e561bb29c51624d78986ae16cb76 /src/qmlcompiler/qqmljsfunctioninitializer.cpp
parent030f68acb3225998faf2f47ea56bfa843f135b66 (diff)
MultiPointTouchArea: rename signal arguments in Qt 7; test with formals
This will be a behavior change for anyone who is still relying on "touchPoints" to be the signal argument rather than the MPTA property; so let's put it off until Qt 7 and have a reminder in docs in the meantime. Fix autotests to avoid depending on this (just as users should). [ChangeLog][QtQuick][MultiPointTouchArea] As a reminder: you should always use formal parameters when writing a signal handler that depends on an argument, such as MultiPointTouchArea.onPressed, onUpdated, onReleased, or onCanceled. It gives you an opportunity to name the argument, to avoid confusion with the touchPoints property, and will avoid behavior changes if we rename the argument in a future version. Fixes: QTBUG-110906 Change-Id: Ie78dc539f7f6cac660f2e90bf3e4665afed3e3f7 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 2b6eb1a51d1593b3df55b5ab4aee3d0eadd75bef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qmlcompiler/qqmljsfunctioninitializer.cpp')
0 files changed, 0 insertions, 0 deletions