Skip to content

Commit

Permalink
Add missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 30, 2015
1 parent 2d5c1dd commit fe3e07e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/app/qgsmaptooladdcircularstring.h
Expand Up @@ -27,12 +27,12 @@ class QgsMapToolAddCircularString: public QgsMapToolCapture
QgsMapToolAddCircularString( QgsMapToolCapture* parentTool, QgsMapCanvas* canvas, CaptureMode mode = CaptureLine );
~QgsMapToolAddCircularString();

void keyPressEvent( QKeyEvent* e );
void keyReleaseEvent( QKeyEvent* e );
void keyPressEvent( QKeyEvent* e ) override;
void keyReleaseEvent( QKeyEvent* e ) override;

void deactivate();
void deactivate() override;

void activate();
void activate() override;

private slots:
void setParentTool( QgsMapTool* newTool, QgsMapTool* oldTool );
Expand Down
6 changes: 3 additions & 3 deletions src/app/qgswelcomepageitemsmodel.h
Expand Up @@ -36,9 +36,9 @@ class QgsWelcomePageItemsModel : public QAbstractListModel

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

int rowCount( const QModelIndex& parent ) const;
QVariant data( const QModelIndex& index, int role ) const;
Qt::ItemFlags flags( const QModelIndex& index ) const;
int rowCount( const QModelIndex& parent ) const override;
QVariant data( const QModelIndex& index, int role ) const override;
Qt::ItemFlags flags( const QModelIndex& index ) const override;

private:
QList<RecentProjectData> mRecentProjects;
Expand Down

0 comments on commit fe3e07e

Please sign in to comment.