Commit 02bc707e authored by Laurent Montel's avatar Laurent Montel 😁

Use override here

parent f2788116
......@@ -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();
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment