diff options
author | Albin Olsson <albin.olsson@cybercom.com> | 2013-08-29 09:11:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-30 11:10:18 +0200 |
commit | 912bd3033d3e53ee113b92bf9be967a25f233c66 (patch) | |
tree | 27488e57f7a74c986cb7abef5cb43d18ec64eab0 | |
parent | b34bee26c932b9f7579e99d1dca632cb8c47d85f (diff) |
Change isPinchActive property to read-only.
According to the documentation the isPinchActive property in
MapGestureArea should be a read-only property. It has probably been made
writable by mistake.
Change-Id: Idacb6607a077010ae59a97cca16ab7e9a3569526
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r-- | src/imports/location/qdeclarativegeomapgesturearea_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeomapgesturearea_p.h b/src/imports/location/qdeclarativegeomapgesturearea_p.h index 08c37bf4..955e20c0 100644 --- a/src/imports/location/qdeclarativegeomapgesturearea_p.h +++ b/src/imports/location/qdeclarativegeomapgesturearea_p.h @@ -115,7 +115,7 @@ class QDeclarativeGeoMapGestureArea: public QObject Q_PROPERTY(bool enabled READ enabled WRITE setEnabled NOTIFY enabledChanged) Q_PROPERTY(bool pinchEnabled READ pinchEnabled WRITE setPinchEnabled NOTIFY pinchEnabledChanged) Q_PROPERTY(bool panEnabled READ panEnabled WRITE setPanEnabled NOTIFY panEnabledChanged) - Q_PROPERTY(bool isPinchActive READ isPinchActive WRITE setPinchActive NOTIFY pinchActiveChanged) + Q_PROPERTY(bool isPinchActive READ isPinchActive NOTIFY pinchActiveChanged) Q_PROPERTY(bool isPanActive READ isPanActive) Q_PROPERTY(ActiveGestures activeGestures READ activeGestures WRITE setActiveGestures NOTIFY activeGesturesChanged) Q_PROPERTY(qreal maximumZoomLevelChange READ maximumZoomLevelChange WRITE setMaximumZoomLevelChange NOTIFY maximumZoomLevelChangeChanged) |