diff options
Diffstat (limited to 'src/imports/location/qdeclarativegeomapmouseevent_p.h')
-rw-r--r-- | src/imports/location/qdeclarativegeomapmouseevent_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeomapmouseevent_p.h b/src/imports/location/qdeclarativegeomapmouseevent_p.h index 77737de8..7d1f90ca 100644 --- a/src/imports/location/qdeclarativegeomapmouseevent_p.h +++ b/src/imports/location/qdeclarativegeomapmouseevent_p.h @@ -62,7 +62,7 @@ class QDeclarativeGeoMapMouseEvent : public QObject Q_PROPERTY(QDeclarativeCoordinate* coordinate READ coordinate) public: - QDeclarativeGeoMapMouseEvent(QObject *parent = 0); + explicit QDeclarativeGeoMapMouseEvent(QObject *parent = 0); ~QDeclarativeGeoMapMouseEvent(); void setAccepted(bool accepted); @@ -86,7 +86,7 @@ public: void setY(int y); int y() const; - void setCoordinate(QGeoCoordinate coordinate); + void setCoordinate(const QGeoCoordinate &coordinate); QDeclarativeCoordinate* coordinate(); private: |