Skip to content

Commit f03f108

Browse files
committedSep 11, 2015
Fix warnings
1 parent fd2ad13 commit f03f108

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎src/gui/qgsmapmouseevent.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919

2020
#include "qgssnappingutils.h"
2121

22+
/// @cond
2223
struct EdgesOnlyFilter : public QgsPointLocator::MatchFilter
2324
{
2425
bool acceptMatch( const QgsPointLocator::Match& m ) override { return m.hasEdge(); }
2526
};
27+
/// @endcond
2628

2729
QgsMapMouseEvent::QgsMapMouseEvent( QgsMapCanvas* mapCanvas, QMouseEvent* event )
2830
: QMouseEvent( event->type(), event->pos(), event->button(), event->buttons(), event->modifiers() )

‎src/gui/qgsmapmouseevent.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ class GUI_EXPORT QgsMapMouseEvent : public QMouseEvent
7070
QgsPoint snapPoint( SnappingMode snappingMode );
7171

7272
/**
73-
* returns the first snapped segment. If the cached snapped match is a segment, it will simply return it.
73+
* Returns the first snapped segment. If the cached snapped match is a segment, it will simply return it.
7474
* Otherwise it will try to snap a segment according to the event's snapping mode. In this case the cache
7575
* will not be overwritten.
76+
* @param snappingMode snapping mode
7677
* @param snapped if given, determines if a segment has been snapped
7778
* @param allLayers if true, override snapping mode
7879
*/

0 commit comments

Comments
 (0)
Please sign in to comment.