Skip to content

Commit

Permalink
Use override here
Browse files Browse the repository at this point in the history
  • Loading branch information
Montel committed Jun 5, 2017
1 parent f278811 commit 02bc707
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/blinken.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Q_OBJECT
blinken();
~blinken();

QSize sizeHint() const Q_DECL_OVERRIDE;
QSize sizeHint() const override;

protected:
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
void mouseMoveEvent(QMouseEvent *e) Q_DECL_OVERRIDE;
void mousePressEvent(QMouseEvent *e) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
void keyReleaseEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent *) override;
void mouseMoveEvent(QMouseEvent *e) override;
void mousePressEvent(QMouseEvent *e) override;
void keyPressEvent(QKeyEvent *e) override;
void keyReleaseEvent(QKeyEvent *e) override;

private slots:
void checkHS();
Expand Down
2 changes: 1 addition & 1 deletion src/highscoredialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class scoresWidget : public QWidget
QSize calcSize();

protected:
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent *) override;

private:
const QList< QPair<int, QString> > m_scores;
Expand Down

0 comments on commit 02bc707

Please sign in to comment.