Skip to content

Commit fe3e07e

Browse files
committedAug 30, 2015
Add missing overrides
1 parent 2d5c1dd commit fe3e07e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎src/app/qgsmaptooladdcircularstring.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ class QgsMapToolAddCircularString: public QgsMapToolCapture
2727
QgsMapToolAddCircularString( QgsMapToolCapture* parentTool, QgsMapCanvas* canvas, CaptureMode mode = CaptureLine );
2828
~QgsMapToolAddCircularString();
2929

30-
void keyPressEvent( QKeyEvent* e );
31-
void keyReleaseEvent( QKeyEvent* e );
30+
void keyPressEvent( QKeyEvent* e ) override;
31+
void keyReleaseEvent( QKeyEvent* e ) override;
3232

33-
void deactivate();
33+
void deactivate() override;
3434

35-
void activate();
35+
void activate() override;
3636

3737
private slots:
3838
void setParentTool( QgsMapTool* newTool, QgsMapTool* oldTool );

‎src/app/qgswelcomepageitemsmodel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ class QgsWelcomePageItemsModel : public QAbstractListModel
3636

3737
void setRecentProjects( const QList<RecentProjectData>& recentProjects );
3838

39-
int rowCount( const QModelIndex& parent ) const;
40-
QVariant data( const QModelIndex& index, int role ) const;
41-
Qt::ItemFlags flags( const QModelIndex& index ) const;
39+
int rowCount( const QModelIndex& parent ) const override;
40+
QVariant data( const QModelIndex& index, int role ) const override;
41+
Qt::ItemFlags flags( const QModelIndex& index ) const override;
4242

4343
private:
4444
QList<RecentProjectData> mRecentProjects;

0 commit comments

Comments
 (0)
Please sign in to comment.