aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpinchhandler.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2023-07-25 15:29:25 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2023-07-26 18:54:52 +0200
commit442eeba6724b2b9044822f2d4a54a81b2d6979f6 (patch)
tree9bd9e1b6f5a7369776cb386959132fc1886d0e1a /src/quick/handlers/qquickpinchhandler.cpp
parentd10884eb9a6ebe8c4615ccaa3ab106c3bf06e175 (diff)
doc: Remove readonly tag from PinchHandler persistent properties
Amends a432970b258edb9ff041d221b2155df30cad4799 As a drive-by, remove redundant categorized logging output, which wrongly implied that starting scale could be set from the target scale. Pick-to: 6.5 6.6 Task-number: QTBUG-76739 Task-number: QTBUG-94168 Change-Id: I1fad79b58fa20e165fd21bc593a27cff8378b7ea Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpinchhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpinchhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/quick/handlers/qquickpinchhandler.cpp b/src/quick/handlers/qquickpinchhandler.cpp
index 25233368c9..8de7390ae4 100644
--- a/src/quick/handlers/qquickpinchhandler.cpp
+++ b/src/quick/handlers/qquickpinchhandler.cpp
@@ -146,7 +146,6 @@ void QQuickPinchHandler::setActiveScale(qreal scale)
*/
/*!
- \readonly
\qmlproperty real QtQuick::PinchHandler::persistentScale
The scale factor that will automatically be set on the \l target if it is not null.
@@ -248,7 +247,6 @@ void QQuickPinchHandler::setActiveRotation(qreal rot)
}
/*!
- \readonly
\qmlproperty real QtQuick::PinchHandler::persistentRotation
The rotation to be applied to the \l target if it is not null.
@@ -488,7 +486,7 @@ void QQuickPinchHandler::onActiveChanged()
m_startDistance = averageTouchPointDistance(centroid().sceneGrabPosition());
m_startTargetPos = target() ? target()->position() : QPointF();
qCDebug(lcPinchHandler) << "activated with starting scale" << m_scaleAxis.m_startValue
- << "target scale" << m_scaleAxis.m_startValue << "rotation" << m_rotationAxis.m_startValue
+ << "rotation" << m_rotationAxis.m_startValue
<< "target pos" << m_startTargetPos;
} else {
m_startTargetPos = QPointF();