Skip to content

Commit 884ccc8

Browse files
committed
Fix documentation
1 parent 5ee4b56 commit 884ccc8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

python/gui/qgsmapmouseevent.sip.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ Will only be useful after snapPoint has previously been called.
7979
%Docstring
8080
Returns the matching data from the most recently snapped point.
8181

82+
:return: the snapping data structure
83+
84+
.. versionadded:: 2.14
85+
8286
.. note::
8387

8488
This method returns the most recent snap match. It must
8589
follow a call to snapPoint() in order to have a recent snap result available.
86-
87-
:return: the snapping data structure
88-
89-
.. versionadded:: 2.14
9090
%End
9191

9292
void setMapPoint( const QgsPointXY &point );

src/gui/qgsmapmouseevent.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ class GUI_EXPORT QgsMapMouseEvent : public QMouseEvent
8989

9090
/**
9191
* Returns the matching data from the most recently snapped point.
92-
* \note This method returns the most recent snap match. It must
93-
* follow a call to snapPoint() in order to have a recent snap result available.
9492
* \returns the snapping data structure
9593
* \since QGIS 2.14
94+
* \note This method returns the most recent snap match. It must
95+
* follow a call to snapPoint() in order to have a recent snap result available.
9696
*/
9797
QgsPointLocator::Match mapPointMatch() const { return mSnapMatch; }
9898

0 commit comments

Comments
 (0)