Skip to content

Commit ffe8de0

Browse files
committedSep 12, 2015
add missing override
1 parent d28325c commit ffe8de0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎src/app/qgsmaptooladdpart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class APP_EXPORT QgsMapToolAddPart : public QgsMapToolCapture
2626
void canvasReleaseEvent( QgsMapMouseEvent * e ) override;
2727
void cadCanvasReleaseEvent( QgsMapMouseEvent * e ) override;
2828

29-
void activate();
29+
void activate() override;
3030

3131
private:
3232
/** Check if there is any feature selected */

‎src/gui/qgsmaptooladvanceddigitizing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ class GUI_EXPORT QgsMapToolAdvancedDigitizing : public QgsMapToolEdit
7070
/**
7171
* Registers this maptool with the cad dock widget
7272
*/
73-
void activate();
73+
void activate() override;
7474

7575
/**
7676
* Unregisters this maptool from the cad dock widget
7777
*/
78-
void deactivate();
78+
void deactivate() override;
7979

8080
QgsAdvancedDigitizingDockWidget* cadDockWidget() const { return mCadDockWidget; }
8181

‎src/gui/qgsmaptoolcapture.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ class GUI_EXPORT QgsMapToolCapture : public QgsMapToolAdvancedDigitizing
6161
*
6262
* @param e The mouse event
6363
*/
64-
void cadCanvasMoveEvent( QgsMapMouseEvent * e );
64+
void cadCanvasMoveEvent( QgsMapMouseEvent * e ) override;
6565

6666
/**
6767
* Intercept key events like Esc or Del to delete the last point
6868
* @param e key event
6969
*/
70-
void keyPressEvent( QKeyEvent* e );
70+
void keyPressEvent( QKeyEvent* e ) override;
7171

7272
#ifdef Q_OS_WIN
7373
virtual bool eventFilter( QObject *obj, QEvent *e ) override;

0 commit comments

Comments
 (0)
Please sign in to comment.